Change this setting:
-p 127.0.0.1:14002:14002
to
-p 14002:14002 \
This will allow connect from anywhere, but if your node has external ip then configure firewall
Change this setting:
-p 127.0.0.1:14002:14002
to
-p 14002:14002 \
This will allow connect from anywhere, but if your node has external ip then configure firewall
i used that on single node, but how deal with it now?
my server firewall setted up like that: tcp accept 14001-14008. Thats only for local (my home’s) network, which is defended by microtik router’s firewall. So, i want to set up 8 nodes on one machine. If i use 14002 for all of than i got
docker: Error response from daemon: driver failed programming external connectivity on endpoint storj1 (20ab87d89a07d6473c62257be1f087de1ef76ec9d97542da022c51fb46f369ae): Bind for 0.0.0.0:14002 failed: port is already allocated.
then if I try to move to another ports, for example 14003, node starts, but i can’t acces dashboard. Why?
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
XXXXXXXXXXXX storjlabs/storagenode:beta "/entrypoint" 7 minutes ago Up 6 minutes 0.0.0.0:14003->14003/tcp, 28967/tcp, 0.0.0.0:4002->28962/tcp storj1
XXXXXXXXXXXX storjlabs/storagenode:beta "/entrypoint" 19 minutes ago Up 19 minutes 0.0.0.0:14002->14002/tcp, 28967/tcp, 0.0.0.0:4001->28961/tcp storj0
By idea should be ok to use different ports as they cant overlap for services. But why cant access to webportal no idea, didnt test to run multiple nodes on the same server.
So finally i found that dashboard ports should be set like port_i_want:14002
Can u help me with that?