我无法访问本地托管的域,在测试中我发现自己也无法ping localhost或实际IP。操作系统是Windows7 64位Pro。
DNS可以正常工作,我可以对网络上的其他人执行ping操作,他们可以对我进行ping操作,然后他们可以到达托管域。我发现的唯一问题是我无法访问本地托管的域!
C:\Users\ian>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : leda
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : hcs
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : hcs
Description . . . . . . . . . . . : Atheros AR8121/AR8113/AR8114 PCI-E Ethern
et Controller
Physical Address. . . . . . . . . : 00-23-54-7C-E2-2A
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.0.12(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter VirtualBox Host-Only Network #2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter #2
Physical Address. . . . . . . . . : 08-00-27-00-88-4A
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Autoconfiguration IPv4 Address. . : 169.254.205.215(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
NetBIOS over Tcpip. . . . . . . . : Enabled
C:\Users\ian>ping localhost
Pinging leda [127.0.0.1] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
C:\Users\ian>ping coachmaster.leda.hcs
Pinging coachmaster.leda.hcs [192.168.0.12] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.0.12:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
C:\Users\ian>
我可以在VirtualBox中访问托管的VM,并且该VM可以浏览托管的站点。
我已经删除了区域警报并禁用了Windows防火墙-同样的结果。
那么,如何浏览本地托管的站点?有什么可以阻止它?
我的旧netgear路由器有时会这样做。我所有的计算机都可以访问外部ip,但不能访问内部ip。我只是拔出电源,等待30秒钟,然后再次打开电源,问题就消失了(一个月左右)。
—
Nifle
我尝试了等效操作-关闭所有内容,重新启动linux防火墙,然后重新启动其余部分。它帮助我查看了所有正确的机器。但是我仍然无法从内部ping通本地计算机的IP(192.168.0。??或127.0.0.1),但是其他人可以ping通我。很奇怪。
—
伊恩
你有没有想过?如果其他人可以访问它,但不能到达那个系统,那么首先要检查的是
—
Synetech 2014年
hosts
文件。
尝试也显示路由表(netstat -nr)。您可以ping 192.168.0.12吗?在学校里,我被教导要重新安装TCP / IP网络堆栈,以解决是否无法ping 127.0.0.1(尽管我不记得遇到过这种情况)。
—
TOOGAM'17年