til / use the ip address instead of localhost
localhost, the computer looks up an IPv4 address (typically
127.0.0.1) or an IPv6 address (typically
::1). The application may try one address first, fail, and then try the other. However, in certain cases1, this approach may not work properly, causing the computer to only attempt one address.
To avoid wasting time on repeated searches and determining the meaning of
/etc/hosts, we can directly use the IPv4 address
127.0.0.1. Although the speed improvements may be small1, they can add up to a significant amount of time for a large organization.