Localhost not working in chrome and firefox

Finally I found the solution … It’s very easy

  1. Go to the LAN settings (In Chrome : Tools -> Options -> Under the hood -> Change Proxy setting -> LAN Setting)

  2. There will be a checkbox for “Bypass proxy server for local address”

  3. Tick the checkbox.

Done!

On Mac/Apple:
Chrome uses system preferences for localhost exclusion:

  1. Go to System Preferences -> Network -> advanced -> Proxy settings

  2. Add ‘localhost’ at the bottom where it says: ‘ignore proxy settings for these hosts and domains’ (Exceptions are separated by a comma)

Leave a Comment