zoukankan      html  css  js  c++  java
  • Why network port is open but no process attached?(为什么端口被打开,但是没有进程号)

    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 -sV -p 60023 localhost
    
    Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2014-07-03 07:32 GMT
    Interesting ports on localhost.localdomain (127.0.0.1):
    PORT      STATE SERVICE VERSION
    60023/tcp open  rpc
    
    Nmap finished: 1 IP address (1 host up) scanned in 6.154 seconds
    

    =EOF

  • 相关阅读:
    python3 sorted()函数解析
    MySql 关键字
    python的 a,b=b,a+b 和 a=b b=a+b 的区别
    python3 all() 函数用于检查实参
    Python3 urllib模块
    Python3 shutil模块
    Python3 sys模块
    Python 异常处理和断言
    Python3 os模块
    Pytho3 file open方法
  • 原文地址:https://www.cnblogs.com/mfryf/p/5438058.html
Copyright © 2011-2022 走看看