2011年7月7日 星期四

Find what program is listening on which port

# print network connections 
netstat -ntulp

# list open files
lsof -i

# list open files on specific port
lsof -i tcp:8080 
Reference: LinuxQuestions

沒有留言:

張貼留言