- Viewed 15k timesanswered Nov 26, 2019 at 15:42
I think this can help you. A resume of that:
If you use 127.0.0.1, then (intelligent) software will just turn that directly into an IP address and use it. Some implementations of gethostbyname will detect the dotted format (and presumably the equivalent IPv6 format) and not do a lookup at all.
Copy of this answer*
Content Under CC-BY-SA license - Question & Answer
What Is the 127.0.0.1 IP Address, and How Do You Use It? - How …
- People also ask
WebNov 30, 2022 · Learn what localhost is, how it works, and what it is used for. Find out how to access localhost with different browsers and operating systems, and how to test web applications and network connections with it.
What is Localhost? Local Host IP Address Explained
Localhost vs. 127.0.0.1 {Quick and Easy Explanation} - phoenixNAP
How to redirect localhost to 127.0.0.1:8080? - Stack Overflow
- Some results have been removed