I installed plesk on ubuntu, my project works with port 3000 and other ports which needs to be enabled and also listens, but i am finding it difficult to find out how to really open it and get it to listen. Here is what i have tried:
Using sudo ufw allow 3000 directly from ssh
Enabling firewall and allowing on ports on plesk
Using iptables to add ports. ( When i type in iptables list, it shows that the ports i added are there but when i type in the listening ports, my added ports isn’t included)
My ports are currently added but how do i get them to listen or is there something i’m not doing right?
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!
Hello there,
I believe that with Plesk you’ll need to make sure that the ports are also open in Plesk Firewall too. If UFW is enabled then open the port using the command you’ve provided, also you can check our tutorial on how to set up a firewall with UFW
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-with-ufw-on-ubuntu-20-0
Is there a particular service that you want to listen to on that port?
Hope that this helps!
Hi @MacArthur,
You’ve mentioned that your project works on port 3000, make sure the project is working and actually listening to that port when checking. You can check what is listening on what ports using :
- netstat -tulepn
Additionally, how have you enabled the ports on Plesk? Plesk is quite needy and specific for such things. One other thing, I think Plesk comes with it’s own installation of a Firewall, is it UFW or something different?
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.