General / Server / Ports : Enable and open
Port Enable and Open
-
Steps
1. install ufw
sudo apt update sudo apt install ufw sudo ufw enable reboot 2. Enbale iptables
List the rulessudo iptables -A INPUT -p --dport -j ACCEPT eg: sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT sudo iptables -L 3. Allow ports
Add port rangesudo ufw allow / eg: sudo ufw allow 8080/tcp
reload the ufwsudo ufw allow 50000:50100/tcp
Check statussudo ufw reload sudo ufw status verbose 4. check the port
telnet OR nmap -p