Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Help Safari recognize localhost URLs Web Browsers
With personal web sharing enabled, it always had frustrated me that Safari (v85, 10.2.6) was unable to access local URLs of the form http://localhost/.... Mozilla could load those just fine, but I had to resort to using in Safari, which of course would only work when I actually had network access.

It turns out that my proxy settings were interfering with Safari. After adding localhost to the 'Bypass proxy settings for these hosts' box in the Proxies tab of all relevant ports in the Network system prefs, Safari can now load http://localhost/ URLs, with or without network access.
  • Currently 2.00 / 5
  You rated: 1 / 5 (4 votes cast)

Help Safari recognize localhost URLs | 4 comments | Create New Account
Click here to return to the 'Help Safari recognize localhost URLs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An even easier way to access local URLs
Authored by: dshirley on Jul 22, '03 11:23:02AM

There's an even shorter way to access local URLs: The IP address 0 (actually a shortcut for

For example, to access the local CUPS configurator, simply enter "0:631". Can't get much shorter than that!


Quidquid latine dictum sit altum viditur

[ Reply to This | # ]
An even easier way to access local URLs
Authored by: trekan on Jul 22, '03 04:12:20PM

You can also use the good old (which will also use in that Microsoft thingie... now what't it called... uhm... oh yeah "Internet Explorer")

[ Reply to This | # ]
Re: An even easier way to access local URLs
Authored by: grrl_geek on Jul 24, '03 12:27:36PM

Huh, I can't get that to work. Both Safari and Camino go "can't connect to the server "0"". Safari, in fact, assumes you want :)

Sinker sucker socks pants, apocryphal awry!

[ Reply to This | # ]
Thank you!
Authored by: gcole on Jul 22, '03 01:33:36PM

I never made the connection between localhost working at home but not at the client site, and the use of a proxy only at the client site. I guess what threw me was that whenever I used localhost there, Safari always rewrote the URL as an IP that didn't make any sense.

Many thanks!

[ Reply to This | # ]