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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.