Another problem with ports :-D

Just changed a default web gui port from 140002 to 10001 and gui won’t load.

root@odroid-buster:~# docker stop storagenode
storagenode
root@odroid-buster:~# docker rm storagenode
storagenode
root@odroid-buster:~# docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:28967
-p 192.168.1.76:10001:10001
-e WALLET=“0xf3897C9D9519daDAa3e577CeD75aC39D4C69CBef”
-e EMAIL="hidden.com@gmail.com"
-e ADDRESS=“hidden.com:28967
-e STORAGE=“14.20TB”
–mount type=bind,source=“/root/.local/share/storj/identity/storagenode”,destination=/app/identity
–mount type=bind,source=“/Storj”,destination=/app/config
–name storagenode storjlabs/storagenode:latest
dc617cf5aa16c30f9332c25e59d4045d41e1a90f4f5803854d0e3ff75cab57ee
root@odroid-buster:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
dc617cf5aa16 storjlabs/storagenode:latest “/entrypoint” 19 seconds ago Up 5 seconds 192.168.1.76:10001->10001/tcp, 0.0.0.0:28967->28967/tcp storagenode

Once I change it to 14002 everything work smoothly…

Any idea or suggestion?

I am assuming you are accessing the dashboard only from the computer with IP address 192.168.1.76? If you want to access it from any other IP on your internal network, you should omit the specific IP address.

Also, you are stoping, removing and re-creating the container with the change? Just running the command when the container already exists is not enough to change settings.

Try

-p 192.168.1.76:10001:14002

2 Likes

Ommiting IP address didn’t solve a problem

root@odroid-buster:~# docker run -d --restart unless-stopped --stop-timeout 300 \

-p 28967:28967 \
-p 10001:10001 \
-e WALLET="0xf3897C9D9519daDAa3e577CeD75aC39D4C69CBef" \
-e EMAIL="xyz@gmail.com" \
-e ADDRESS="xyz:28967" \
-e STORAGE="14.20TB" \
--mount type=bind,source="/root/.local/share/storj/identity/storagenode",destination=/app/identity \
--mount type=bind,source="/Storj",destination=/app/config \
--name storagenode storjlabs/storagenode:latest

a1e4c9ad4ad69b9a83d4e4007ad23968e81a56f1eb14c790f561e4cc6e2fb1fa

Still cannot open web gui

28967 and 14002 are constants but their other side can be whichever port you want.
<your port>:14002 or <your port>:28967

2 Likes

Still no luck, server is starting but no access to web gui:

root@odroid-buster:~# docker logs storagenode
2021-02-08T15:48:24.024Z INFO Configuration loaded {“Location”: “/app/config/config.yaml”}
2021-02-08T15:48:24.028Z INFO Operator email {“Address”: “xyz@gmail.com”}
2021-02-08T15:48:24.028Z INFO Operator wallet {“Address”: “0xf3897C9D9519daDAa3e577CeD75aC39D4C69CBef”}
2021-02-08T15:48:24.669Z INFO Telemetry enabled {“instance ID”: “12KRnC3nhxkPYmTtwwpYRypoMp5Bsz7RLu2wk9UuJp9VkYcVTWa”}
2021-02-08T15:48:24.745Z INFO db.migration Database Version {“version”: 48}
2021-02-08T15:48:25.617Z INFO preflight:localtime start checking local system clock with trusted satellites’ system clock.
2021-02-08T15:48:26.453Z INFO preflight:localtime local system clock is in sync with trusted satellites’ system clock.
2021-02-08T15:48:26.453Z INFO trust Scheduling next refresh {“after”: “8h30m42.9621658s”}
2021-02-08T15:48:26.454Z INFO bandwidth Performing bandwidth usage rollups
2021-02-08T15:48:26.454Z INFO Node 12KRnC3nhxkPYmTtwwpYRypoMp5Bsz7RLu2wk9UuJp9VkYcVTWa started
2021-02-08T15:48:26.454Z INFO Public server started on [::]:28967
2021-02-08T15:48:26.454Z INFO Private server started on 127.0.0.1:7778

root@odroid-buster:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d18f030b6105 storjlabs/storagenode:latest “/entrypoint” 2 minutes ago Up 2 minutes 192.168.1.76:10001->14002/tcp, 0.0.0.0:10000->28967/tcp storagenode

Show your new updated command with the changes recommended above.