By Numbian
Hello, I managed to setup my test app (NODE/Express) on http://178.128.173.30/ but I can access it through http:// only when app.listen(80);
I have opened few other ports in console with sudo ufw allow but none of them working. Am I missing something?
Current sudo ufw status below:
| To | Action | From |
|---|---|---|
| 22 | LIMIT | Anywhere |
| 80 | ALLOW | Anywhere |
| 443 | ALLOW | Anywhere |
| Nginx HTTP | ALLOW | Anywhere |
| 50/tcp | ALLOW | Anywhere |
| 50 | ALLOW | Anywhere |
| 80/tcp | ALLOW | Anywhere |
| 21/tcp | ALLOW | Anywhere |
| 500:600/tcp | ALLOW | Anywhere |
| 500:600/udp | ALLOW | Anywhere |
| 22 (v6) | LIMIT | Anywhere (v6) |
| 80 (v6) | ALLOW | Anywhere (v6) |
| 443 (v6) | ALLOW | Anywhere (v6) |
| Nginx HTTP (v6) | ALLOW | Anywhere (v6) |
| 50/tcp (v6) | ALLOW | Anywhere (v6) |
| 50 (v6) | ALLOW | Anywhere (v6) |
| 80/tcp (v6) | ALLOW | Anywhere (v6) |
| 21/tcp (v6) | ALLOW | Anywhere (v6) |
| 500:600/tcp (v6) | ALLOW | Anywhere (v6) |
| 500:600/udp (v6) | ALLOW | Anywhere (v6) |
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.
But I don’t need Nginx - I use Express. As I wrote above I have set up server successfully. I can’t make app work on other port than 80.
I have read all those before posting here. Thx I will search somewhere else this is pointless :)
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.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
