Localhost not working in chrome and firefox

前端 未结 12 1080
你的背包
你的背包 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:01

    Changing my LAN network settings to not automatically detect a proxy server worked for me BUT resetting your Windows network stack may help.

    See The Nuclear Option: Resetting The Crap Out Of Your Network Adapters in Vista from Scott Hanselman.

    0 讨论(0)
  • 2020-11-28 09:01

    For Firefox:

    1. Go to LAN Settings: Options->Advanced->Network. In the "Connection" section of the "Network" tab press "Settings" button to open "Connection Settings" dialog box.
    2. Select "Manual proxy configuration:" radio button
    3. The "No proxy for:" textbox should contain the following text: "localhost, 127.0.0.1"
    0 讨论(0)
  • I faced the same issue and the complete solution is to set to false(uncheck) the "Automatically detect settings" checkbox from Lan Area Network( the same window as for Bypass proxy server for local address )

    0 讨论(0)
  • 2020-11-28 09:07

    You need to disable Script Debugging In Visual Studio

    0 讨论(0)
  • 2020-11-28 09:10

    I found that when I had this issue that I had to delete the application.config file from my solution. I was pulling the code from co-worker's repository whose config file was mapping to their local computer resources (and not my own). In addition to that, I had to create a new virtual directory as explained in the previous answers.

    0 讨论(0)
  • 2020-11-28 09:12

    For all browsers,

    • Open internet Options (or Internet properties)
    • Go to connections tab
    • Click on LAN Settings
    • Tick Use proxy server for your LAN
    • Tick Bypass proxy server for your local address (Don't change the port number)
    • Click on Ok

    Now you are good to go. :)

    0 讨论(0)
提交回复
热议问题