Report this

What is the reason for this report?

Opening ports in my droplet

Posted on November 18, 2022

I currently and trying to open port 6333 in my Ubuntu 18.04 droplets. Neither of them are listening on the port and I have already tried the commands:

sudo ufw allow 6333 sudo ufw allow 6333/tcp

Can anyone tell me what I am doing wrong?



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.

Hi @ryanjaycc,

For the ports to be opened there should be something listening on them. Basically, you can’t open a port and connect to it if there is no service/app listing on the same port.

Hi @ryanjaycc,

Yes, as @kfsys says, the main thing is to have an active service that responds to that port.

Additionally, you can check your firewall status with the following command:

$ sudo ufw status verbose

If the firewall is not active, you can do it with:

$ sudo ufw enable

Hope that helps you,

Sergio Turpín

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.