The ss
command seems to distinguish between *
and 0.0.0.0
. While the listing of ssh with 0.0.0.0:22
and [::]:22
is clear, *:7946
and *:80
is not quite as much.
$ ss -ntl
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 128 0.0.0.0:22 0.0.0.0:*
LISTEN 0 128 *:7946 *:*
LISTEN 0 128 *:80 *:*
LISTEN 0 128 [::]:22 [::]:*
Why isn't it 0.0.0.0:7946
and 0.0.0.0:80
? What's the difference here?