Tuesday, January 10, 2012

Find open ports / Close ports in ubuntu

How to find the open ports in ubuntu
netstat -anp --tcp --udp | grep LISTEN


How to close a port 
fuser -k <port>/tcp

No comments:

Post a Comment

Constructor Chaining