Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to enable port 80 in ubuntu

Give the following command:

sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT

Then check the port status with this website:

https://portchecker.co/
 
PREVIOUS NEXT
Tagged: #enable #port #ubuntu
ADD COMMENT
Topic
Name
7+9 =