So my company has a webserver on port 4000 (Cloudflare) and mongodb on port 27017. I tried to do ufw allow 27017/tcp, or ufw allow 27017, ufw allow 4000, ufw allow 4000/tcp. However when I’ve done an nmap scan the ports are still closed for some reason. Why is this? What am I missing? I’ve tried to enable nginx and apache but we already have a webserver on cloudflare, so isn’t it mood point?
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.