ListenAddress
ListenAddress is a configuration directive used by network servers to specify the network interface address on which the service should listen for incoming connections. It designates the binding address and, in some implementations, the listening port. Address values may be IPv4 addresses, IPv6 addresses, or hostnames that resolve to an address. A key use is to restrict a service to a limited network interface (for example, localhost only) or to expose it on multiple interfaces.
In software that supports it, ListenAddress can be repeated to bind to several addresses. If no ListenAddress
In OpenSSH's sshd_config, ListenAddress can be used to specify the addresses the daemon should bind to. For
Security considerations include that binding to fewer addresses limits exposure, whereas binding to all interfaces may