Can not resolve http://localhost:8080/ on Mac OSX Lion
15,238
Found that behind proxy by the default only the *.local is excluded, so just need to add localhost and 127.0.0.1 to avoid DNS resolution on the local machine. Put
*.local, localhost, 127.0.0.1
into the following setting dialog:
System Preferences/Network/Advanced/Proxies/Bypass proxy settings for these Hosts & Domains
Author by
pharsfalvi
Updated on June 08, 2022Comments
-
pharsfalvi almost 2 years
I'm trying to use a local server on my mac, but it seems to ignore the localhost settings in the /etc/hosts file. Found several pages where solution was to do a reinstall, and put localhost to the first place of /etc/hosts etc... I believe these are more than needed.
Does anybody still have the same problem?
-
pharsfalvi over 12 yearsThanks for that, ping is fine. Found that proxy settings did not exclude localhost, only *.local by default.
-
pharsfalvi over 9 yearsThanks Chad for the feedback, I mark it as answered based on that.
-
pharsfalvi over 9 yearsThanks Chris, your info is valuable to get a grasp on how it works.