How to fully kill port 80 on uBuntu?

Status
Not open for further replies.

MediaStar

Active Member
2,664
2010
446
235
Guys, i need some help here.

My VPS running uBuntu V14 and installed Pritunl on it, default port for Pritunl is 443. I have changed Pritunl port to 9700. I have no problem to access my Pritunl webpage using ip (https://IP:9700). I want to kill port 80 because i want it for Squid/

When i run this following command:

Code:
sudo netstat -lnp | grep ':80 '

The result is:

mXtvuou.png


Then i run this following command:

Code:
sudo kill -9 22054

After that i checked again with this command again, the result is:

KtZNLOt.png


For the 1st time port 80 is gone, but the command I ran for the second time still showing the same result with another PID.

QmchbZp.png


Any idea how to fully stop this port 80?
 
1 comment
First make sure you have setup correct port for pritunel and there is no port forwarding setup. Also edit /etc/services and define port and service accordingly.

restart your pritunel and then try to grep 80 port. You can then install squid and make sure to modify /etc/services.
 
Status
Not open for further replies.
Back
Top