顯示具有 netstat 標籤的文章。 顯示所有文章
顯示具有 netstat 標籤的文章。 顯示所有文章

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