Advanced set up: customize the port of your Node

The default rpc port is 9334 and node port is 9433. To change it, please follow these steps:

  1. In your terminal:
  • Open the file run.sh by this command:

nano run.sh

Add the following param in docker command

(replace node_port, rpc_port correspond to the port you want)docker run … -p <node_port>:<node_port> -p <rpc_port>:<rpc_port> …

Then run the following command (replace rpc_port, node_port with yours):

rpc_port=9334 node_port=9433 ./run.sh

  1. On the app:

Separate the IP of your Virtual Node and the customized port by a colon before adding the Node. For example: 123.456.7.8:9335

56

1 Like