I want to access to 9000 port remotely. This is the result for “sudo netstat -ntulp”
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:27017 0.0.0.0:* LISTEN 986/mongod
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 982/sshd
tcp6 0 0 :::9000 :::* LISTEN 4978/docker-proxy tcp6 0 0 :::12201 :::* LISTEN 4960/docker-proxy tcp6 0 0 :::22 :::* LISTEN 982/sshd
udp6 0 0 :::12201 :::* 4970/docker-proxy
So the 9000 port should be accessible remotely. It works locally (both http://localhost:9000 and http://[ip-address]:9000) but when I try to connect remotely (http://[ip-address]:9000) it doesn’t work. Also ufw is disabled.
Can anyone help?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!