View previous topic :: View next topic |
Author |
Message |
mauricev Apprentice
Joined: 22 Mar 2004 Posts: 203
|
Posted: Thu Aug 22, 2019 3:32 pm Post subject: What's causing crazy netstat output? |
|
|
Two machines identically configured. On one, netstat returns
Code: | tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
tcp 0 0 45.76.6.231:497 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:497 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::33060 :::* LISTEN
tcp6 0 0 :::80 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 :::443 :::* LISTEN |
On the other,
Code: | tcp 0 0 localhost:mysql 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp 0 0 localhost:9000 0.0.0.0:* LISTEN |
Why is Apache showing up in one and not the other? More generally, why does one list IPv6 connectivity and the other not? |
|
Back to top |
|
|
mauricev Apprentice
Joined: 22 Mar 2004 Posts: 203
|
Posted: Thu Aug 22, 2019 3:46 pm Post subject: |
|
|
It turns out one server is slightly older than the other and is running an earlier kernel that somehow had been compiled differently. One has ipv6 and the other not. |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Thu Aug 22, 2019 3:58 pm Post subject: |
|
|
Furthermore, the first output was created with netstat option '-n' and the second one without that option...
'identical' is probably not the appropriate word... |
|
Back to top |
|
|
|