command:
lsof -i: view all network connections
lsof -i tcp: tcp links View all
lsof -i udp: View all udp connection
lsof -i: port number: port number who see the connection
lsof -i tcp: Port number: View the tcp in, who is using that port number
command:
lsof -i: view all network connections
lsof -i tcp: tcp links View all
lsof -i udp: View all udp connection
lsof -i: port number: port number who see the connection
lsof -i tcp: Port number: View the tcp in, who is using that port number