2 NODES on NAS + 1 NODE on PC behind one Public IP

Hello,

I am running already two nodes.

One is under Windows (PC) on port 28968 - works OK
Second running on NAS under docker on port 28967 - works OK

I would like to configure third NODE on the NAS where is second NODE. When tried create new node/docker with different name I am not able because port 28967 is used by second node.

Router forwarding traffic from outside to PC IP to port 28968 and from outside to NAS IP to port 28967.

Is there way how to run multiple nodes on SYNOLOGY NAS in Docker behind one port? Is there option to use other ports than 28967,28968?

Thank you

Wigo

Just use the next one, which would be 28969. Use -p 28969:28967 ... -e ADDRESS="your.host.name:28969" in your docker run command and forward port 28969 to your NAS.

1 Like

OK my command looks like this:

sudo docker run -d --restart unless-stopped --stop-timeout 300 -p 28969:28967 -p 14002:14002 -e WALLET="0xba88a1xxxxxx…

Now I am getting error regarding Dashboard. Should I use also different port here?

Error response from daemon: driver failed programming external connectivity on endpoint STORJ_02 (ad0f5e142e7f46fafc74fa50a234b691df4eff573bcf65c1a7bc19e312557d52): Error starting userland proxy: listen tcp 0.0.0.0:14002: bind: address already in use
Error: failed to start containers: STORJ_02

Any idea?

Thank you

Wigo

Stop and remove the container and try again with -p 14003:14002 (or -p 14004:14002 if you want to have each used port 2 above the other node’s port).

1 Like

Hi Donald,

Yes works perfectly. Thank you for your help and support. Now it is clear for me how to run multiple NODES behind one IP/External PORT.

All the best

Wigo

Do not forget to update the port forwarding on your router also.

28969 (external port) => 28969 (internal port of your NAS).

1 Like