I’ve set up three Storj nodes on the same machine and assigned three different public IP addresses to each node. Here is my configuration:
Node 1:
docker run -d --restart unless-stopped --stop-timeout 300 \
-p 28901:28967/tcp \
-p 28901:28967/udp \
-p 127.0.0.1:14001:14002 \
-e WALLET="0xXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" \
-e EMAIL="xxxxxxxxxx@gmail.com" \
-e ADDRESS="xx.xx.xx.21:28901" \
-e STORAGE="13.1TB" \
--user $(id -u):$(id -g) \
--mount type=bind,source="/storj/identity/storagenode",destination=/app/identity \
--mount type=bind,source="/storj/data",destination=/app/config \
--name storagenode storjlabs/storagenode:latest
Node 2:
docker run -d --restart unless-stopped --stop-timeout 300 \
-p 28902:28967/tcp \
-p 28902:28967/udp \
-p 127.0.0.1:14002:14002 \
-e WALLET="0xXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" \
-e EMAIL="xxxxxxxxxx@gmail.com" \
-e ADDRESS="xx.xx.xx.22:28902" \
-e STORAGE="13.1TB" \
--user $(id -u):$(id -g) \
--mount type=bind,source="/storj2/identity/storagenode2",destination=/app/identity \
--mount type=bind,source="/storj2/data",destination=/app/config \
--name storagenode2 storjlabs/storagenode:latest
Node 3:
docker run -d --restart unless-stopped --stop-timeout 300 \
-p 28903:28967/tcp \
-p 28903:28967/udp \
-p 127.0.0.1:14003:14002 \
-e WALLET="0xXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" \
-e EMAIL="xxxxxxxxxx@gmail.com" \
-e ADDRESS="xx.xx.xx.23:28903" \
-e STORAGE="15TB" \
--user $(id -u):$(id -g) \
--mount type=bind,source="/storj3/identity/storagenode3",destination=/app/identity \
--mount type=bind,source="/storj3/data",destination=/app/config \
--name storagenode3 storjlabs/storagenode:latest
Despite this setup, I am receiving the following error for Nodes 2 and 3:
“QUIC is misconfigured. You must forward port 28967 for both TCP and UDP to enable QUIC. See Step 3. Setup Port Forwarding - Storj Docs on how to do this.”
Node 1 seems to be working fine without this error.
Nodes 2 and 3 are using different ports for communication (28902 and 28903).
I have ensured that port forwarding is set up correctly on my router for the respective ports and IP addresses. Each node is running on a different public IP, so I’m not sure why this misconfiguration message is appearing.
Questions:
- Is there a specific requirement for QUIC configuration that I might be missing for nodes running on different ports?
- How can I ensure that QUIC is configured correctly for multiple nodes on the same machine with different IP addresses?
Any insights or suggestions would be greatly appreciated!