Finally I found the solution … It’s very easy
-
Go to the LAN settings (In Chrome : Tools -> Options -> Under the hood -> Change Proxy setting -> LAN Setting)
-
There will be a checkbox for “Bypass proxy server for local address”
-
Tick the checkbox.
Done!
On Mac/Apple:
Chrome uses system preferences for localhost exclusion:
-
Go to System Preferences -> Network -> advanced -> Proxy settings
-
Add ‘localhost’ at the bottom where it says: ‘ignore proxy settings for these hosts and domains’ (Exceptions are separated by a comma)