What is the difference between ip address 0.0.0.0 and 127.0.0.1?
Sometimes when using the netstat command, which print out something like
# netstat -ntpl (No info could be read for "-p": geteuid()=1001 but you should be root.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN - ...
What is the real meaning of 0.0.0.0?
In fact, this special IP means "all the IP addresses on the local machine". So if you have seen a service listening on 0.0.0.0, it means you can connect to the service using any IP addresses of the machine.