The argument in docker run
command should be:
--server.address=:28967
or
--server.address=":28967"
?
Like for debug address:
--debug.addr=":5999"
In my case, I don’t use network host
, but for some unexplained reason, the 28967 din’t worked for both nodes in one machine, so I used 28968 all the way, like this:
router portWAN:portNAS > docker portNAS:portDKR
-p 28968:28968/tcp \
-p 28968:28968/udp \
-p 14003:14002 \
-e ADDRESS="wanIP:28968" \
# public address to listen on
server.address: :28968
Maybe I changed this port in config, from 28967 to 28968 at setup, and I forgot, and all the tryes using 28967 failed after that… Now that I know about this, I will try again with docker port 28967 for both nodes.
Node1:
-p 28967:28967/tcp \
-p 28967:28967/udp \
-p 14002:14002 \
-e ADDRESS="wanIP:28967" \
... --server.address=":28967"
Node2:
-p 28968:28967/tcp \
-p 28968:28967/udp \
-p 14003:14002 \
-e ADDRESS="wanIP:28968" \
... --server.address=":28967"