Can't access 127.0.0.1

后端 未结 3 865
执念已碎
执念已碎 2020-12-24 14:16

I can\'t figure out when this started to happen, but the result is - 127.0.0.1 is not working on any port from anywhere (for example, browser says Unable to connect). Here a

相关标签:
3条回答
  • 2020-12-24 14:56

    In windows first check under services if world wide web publishing services is running. If not start it.

    If you cannot find it switch on IIS features of windows: In 7,8,10 it is under control panel , "turn windows features on or off". Internet Information Services World Wide web services and Internet information Services Hostable Core are required. Not sure if there is another way to get it going on windows, but this worked for me for all browsers. You might need to add localhost or http:/127.0.0.1 to the trusted websites also under IE settings.

    0 讨论(0)
  • 2020-12-24 14:58

    If it's a DNS problem, you could try:

    • ipconfig /flushdns
    • ipconfig /registerdns

    If this doesn't fix it, you could try editing the hosts file located here:

    C:\Windows\System32\drivers\etc\hosts
    

    And ensure that this line (and no other line referencing localhost) is in there:

    127.0.0.1 localhost
    
    0 讨论(0)
  • 2020-12-24 15:02

    Just one command did the work

    netsh http add iplisten 127.0.0.1

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