ss is missing listeners (ipv6?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a server running Apache on port 80. netstat shows it running:

# netstat -lntp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address
     State       PID/Program name
tcp        0      0 0.0.0.0:43257               0.0.0.0:*
     LISTEN      2760/ClusterDaemon
tcp        0      0 0.0.0.0:6556                0.0.0.0:*
     LISTEN      2635/xinetd
tcp        0      0 0.0.0.0:6557                0.0.0.0:*
     LISTEN      2635/xinetd
tcp        0      0 :::80                       :::*
     LISTEN      10785/httpd
tcp        0      0 :::22                       :::*
     LISTEN      2600/sshd

ss -lnt does not. Notice that the sshd port is also missing.

# ss -lnt
Recv-Q Send-Q             Local Address:Port               Peer Address:Port
0      0                              *:43257                         *:*
0      0                              *:6556                          *:*
0      0                              *:6557                          *:*

It really is running; I can access port 80. Why doesn't ss show it? I
played with other options, but couldn't find anything that worked.

# ss -6ln
Recv-Q Send-Q             Local Address:Port               Peer Address:Port
# ss -6lnt
ss: no socket tables to show with such filter.
# ss -a6n
State      Recv-Q Send-Q        Local Address:Port          Peer Address:Port
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux