When I check my system today, I noticed a weird output from netstat’s output,
joseph# sudo netstat -lnpt | grep 60023 tcp 0 0 0.0.0.0:60023 0.0.0.0:* LISTEN -
There is no process attached to an open port. I used different command to try to address the process that attaches to this port, but all failed.
After searching around, I realized it’s an port opened by kernel, that’s why it won’t show up with program name. For the port like this, it may relate to NFS and OCFS stuff, or something like that, or it could be a kernel bug. If you need to find more details, check kernel logs for OOPS and bug.
A nmap scan help me confirm my guess,
Nmap finished: 1 IP address (1 host up) scanned in 6.154 seconds
本文转自博客园知识天地的博客,原文链接:Why network port is open but no process attached?(为什么端口被打开,但是没有进程号),如需转载请自行联系原博主。