Whitelist writers IPs - Turupawn/Producers GitHub Wiki

We start by accessing to our node via putty or ssh.

ssh -i yourkey.pem [email protected]

Now, let's edit the Lacchain cofiguration file.

sudo nano /root/lacchain/config.toml

We add the IP addresses wrapped by double quitation marks and separated by commas on the host-whitelist field.

## Uncomment the following lines to allow RPC from remote locations (risky)
host-whitelist=["41.12.54.12", "65.23.65.12"]
#rpc-http-host="0.0.0.0"
rpc-http-cors-origins=["*"]
#graphql-http-host="0.0.0.0"

We now save by typing CTRL+O and exit with CTRL+X

Let's end by restarting the server: service pantheon restart