netstat
and similar commands provide information on services bound to an IP. This information is however limited when a service binds to "all available interfaces":
root@srv ~# netstat -tulpn | grep 22
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1077/sshd
tcp6 0 0 :::22 :::* LISTEN 1077/sshd
In the case above, the SSH daemon bound to all available interfaces, but it is not explicit about which ones.
How to check all interfaces (or IP addresses) a service bound to?