Disabled IPv6, but IPv6 sockets still shows up in netstat.

Solution Verified - Updated -

Issue

  • Disabled ipv6, however ipv6 sockets still shows up in netstat.
# netstat -neopa | grep tcp6
    tcp6       0      0 :::111                  :::*                    LISTEN      0          18794      1820/rpcbind         off (0.00/0/0)
    tcp6       0      0 :::20048                :::*                    LISTEN      0          60503690   20946/rpc.mountd     off (0.00/0/0)
    tcp6       0      0 :::49072                :::*                    LISTEN      29         20268      1818/rpc.statd       off (0.00/0/0)
    tcp6       0      0 :::45297                :::*                    LISTEN      0          16984      -                    off (0.00/0/0)
    tcp6       0      0 :::44053                :::*                    LISTEN      0          20307      -                    off (0.00/0/0)
    tcp6       0      0 :::22                   :::*                    LISTEN      0          16188      1110/sshd            off (0.00/0/0)
    tcp6       0      0 :::24346                :::*                    LISTEN      0          17508      1109/xinetd          off (0.00/0/0)
    tcp6       0      0 :::2049                 :::*                    LISTEN      0          60503752   -                    off (0.00/0/0)

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.