Monday, September 22, 2008

find out what is communicating on a particular port

lsof -i :8080

where 8080 is the port you want to know about

Labels: , , , , , ,

find out what services are listening on which ports

for tcp: lsof | grep TCP
or for udp: lsof | grep UDP


Labels: , , , , , ,