open port 3000 ubuntu 1

open port 3000 ubuntu

sudo ufw allow 3000

Here is what the above code is Doing:
1. We’re installing the ufw package.
2. We’re enabling the firewall.
3. We’re allowing SSH connections.
4. We’re allowing HTTP connections.
5. We’re allowing HTTPS connections.
6. We’re allowing the port that our Node.js application is running on.

Similar Posts