Localhost not working in chrome and firefox

前端 未结 12 1127
你的背包
你的背包 2020-11-28 08:45

I am doing a web project using visual studio 2010(MVC3 Razor) and Windows 7.

My default browser is IE. When I run the project, the website working is perfectly with

12条回答
  •  日久生厌
    2020-11-28 09:25

    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)

提交回复
热议问题