无法访问127.0.0.1 [英] Can't access 127.0.0.1

查看:293
本文介绍了无法访问127.0.0.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法弄清楚何时开始发生,但结果是 - 127.0.0.1无法在任何地方使用任何端口(例如,浏览器显示无法连接)。以下是我的研究结果:

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 are the results of my research:


  1. localhost,COMPUTER_NAME和实际IP地址都正常工作

  2. 我的主机文件中没有任何特殊内容

  3. ping到127.0.0.1并且tracert正常工作

  4. 所有具有127.0.0.1硬编码的程序不起作用(这一点让我失望最多,因为在这种情况下我不能做任何事情)

  1. localhost, COMPUTER_NAME and actual IP address all work fine
  2. there is nothing special in my hosts file
  3. ping to 127.0.0.1 and tracert do work fine
  4. all the programs that have 127.0.0.1 hardcoded are not working (this point makes me disappointed the most, because I can't do anything in this case )

我还能做什么?确定问题的根源并修复它?

What else can I do to identify the source of problem and fix it?

更新:一旦Redis在127.0.0.1上运行并且IIS和AzureStorageEmulator都不起作用我就假设这个是HTTP唯一的问题。

UPDATE: as soon as Redis does work on 127.0.0.1 and both IIS and AzureStorageEmulator don't work I assume this is HTTP only issue.

推荐答案

只有一个命令完成了工作

Just one command did the work


netsh http add iplisten 127.0.0.1

netsh http add iplisten 127.0.0.1

这篇关于无法访问127.0.0.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆