What is the difference between 127.0.0.1 and localhost

Assuming the following is defined in .../hosts:

127.0.0.1 localhost

What, if any, are the actual differences between using 127.0.0.1 and localhost as the server name, especially when hitting processes running locally that are listening for connections?

5 Answers
5

Leave a Comment