@saamxvr ill help you out mate ... im kinda advanced on linux/freeBSD Unix etc … so lets start simple, first thing we must see its running on your internal network … run the command bellow on your server to get your internet IP first :
root@SERVER1:~# /sbin/ifconfig|grep inet
inet 192.168.200.201 netmask 255.255.255.0 broadcast 192.168.200.255
You should get something like that and try http://192.168.200.201:14002 my example and see if its running … and we go forward from there !!!
P.S: ( first thing i wanna mention is “-p 127.0.0.1:14002:14002” your IP here should be the internal IP of your server 192.168.200.201 my example not localhost 127.0.0.1 [<—probably this is your problem] … will never work outside your internal network otherwise ) … i wait for your reply and we go forward after … will work 100 % in the end so no worries …
you can add the iptables command to but probably not your case :
iptables -A OUTPUT -p tcp -m tcp --dport 14002 -j ACCEPT
iptables -A OUTPUT -p udp -m udp --dport 14002 -j ACCEPT
iptables-save
an example of my NODE starting command …
root@SERVER1:~# cat START
docker run -d --restart unless-stopped -p 28967:28967
-p 192.168.200.201:14002:14002
-e WALLET=“0xxxxxxxxxxxxxxxxxxxxx”
-e EMAIL="email@gmail.com"
-e ADDRESS=“www.your.dns.com:28967”
-e BANDWIDTH=“500000000000000000 TB”
-e STORAGE=“8TB”
–mount type=bind,source="/home/administrator/.local/share/storj/identity/storagenode/",destination=/app/identity
–mount type=bind,source="/mnt/storj1",destination=/app/config
–name storagenode storjlabs/storagenode:beta
root@SERVER1:~#
just read everything i said … let me know if you understood and paste your internal IP (works just for you so no security issue :))) ) … and tell me if http://your-internal-ip:14002/ opens up for you !!!
ok got it … so you have a real IP there … not internal … do the iptables commands then … and as i mentioned up … add your IP to docker command when you run the node :
docker run -d --restart unless-stopped -p 28967:28967
-p your-ip-not-localhost:14002:14002 …
UPDATE :
just the docker configuration of IP is your problem … as your server doesnt have firewall that is blocking your port for the dashboard :
root@SERVER1:~# telnet your-ip 14002
Trying your-ip…
telnet: Unable to connect to remote host: Connection refused
root@SERVER1:~#
if you add your real ip instead of localhost on the running command of your node should fix your problem !!!
You really shouldnt have touched this, theres a reason no one is giving step by step how to do it, they need to learn to do it themselfs and learn the risks, instead its going to be on you. It is not recommended to make the dashboard public at all.
or just do this :
docker stop -t 300 storagenode ( ps : if your storagenode has the name storagenode )
docker rm storagenode
and now start your storagenode again with new IP
docker run -d --restart unless-stopped --stop-timeout 300 … etc !!!