Tag Info

New answers tagged

2

netstat doesn't accept an IP address argument. The only non-option argument is a delay, and that's not in all versions. The command will Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships for the local machine. It doesn't have any access to data about other machines, only connections to ...


1

127.0.0.1 and 0.0.0.0 127.0.0.1 means local interface or loopback address. Only accessible from your localhost. 0.0.0.0 is a wildcard address for every interface. On netstat -ntlp Local Address means "Print active listening tcp connections, show IPs as numeric values and show the PID and name of the program that uses this connection." Difference by ...


1

I think you've answered your own question. As an example, apache has it's Listen option which tells it which address and port to listen on. Depending on how this is set, apache will listen on any IP address, a specific address:- Listen *:80 Listen 0.0.0.0:80 Listen 127.0.0.1:80 Listen 192.168.0.5:80 The above options show up as:- :::80 0.0.0.0:80 ...


3

0.0.0.0 means the process is bound to all interfaces. 127.0.0.1 means the process is bound only to the 127.0.0.1 interface (loopback). If you had other interfaces you might have x.y.z.a entries indicating the process was bound to those specific interfaces. A process will only be told if traffic arrives on the interfaces to which it is bound, so yes, it's ...


1

The "local address" is the address to which the socket in question is bound. This is the address which it receives connections on. The addresses you're asking about are "special addresses". According to the manual page for the Linux IPv4 protocol: There are several special addresses: INADDR_LOOPBACK (127.0.0.1) always refers to the local host via the ...


1

As you told, the IP of localhost only accept connections to those ports locally while the IP 0.0.0.0 refers to ports that are open to all. For example Local 127.0.0.1:8307 VMWARE 127.0.0.1:25 MASTER To all 0.0.0.0:80 HTTP 0.0.0.0:443 SKYPE



Top 50 recent answers are included