Question

Unable to open port 6000

i have turn on port 6000 in networking -> firewall - > inbound Custom TCP 6000 [All IPv4] [All IPv6]

However when i tried to telnet the port to see if it works. it returned connection refused .

i haven’t use ufw or any other firewall .

Would you please advice ?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.

Hello, @billyhawaii1991

Is there any service listening on port 6000 at the moment? The port won’t be considered “open” until something is listening on it.

You can also use UFW if you want to use it to control the firewall rules

  1. sudo ufw allow 6000

You can check the tutorial for Ubuntu 18.04 here:

https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-with-ufw-on-ubuntu-20-04

Hope that this helps! Regards, Alex