So in your case, the "*" means all interfaces and all IP's.
So you would be able to hit https on eth0 with IP 10.10.10.1 and on eth1 with IP 172.20.54.10.
On Tue, 21 Jun 2016 18:45:15 +0000 (UTC)
Mahmood N <nt_mahmood@xxxxxxxxx> wrote:
tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN 28122/xinetd> Shows the port, 5666, the PID, 28122, and the program name, xinetdSo, you still don't know what is the IP address (network interface)? I mean eth0, eth1 and ...
Mine is different!
root@cluster:~# netstat -pat | grep httpd
tcp 0 0 *:ulistproc *:* LISTEN 3940/httpd
tcp 0 0 *:https *:* LISTEN 3940/httpd
The only directive that causes Apache to listen on a network interface
is "Listen".
As I said, that section is commented. So, there should be a default ethX and port.The port number can be found, but the ethX is not visible. At least for me...
root@cluster:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:81:C6:D5:35
inet addr:10.10.10.1 Bcast:10.10.10.255 Mask:255.255.255.0
eth1 Link encap:Ethernet HWaddr 00:E0:81:C6:D5:34
inet addr:172.20.54.10 Bcast:172.20.54.255 Mask:255.255.255.0
Regards,
Mahmood