2015-08-22 61 views

回答

1

请指定每种IP地址的类型,而不是下次输入它们。假设通过LAN IP,你指的是你的ipv4地址,这是为什么:ipv4地址与本地主机地址略有不同。我不确定这是你的情况的确切原因,因为这个问题有点不清楚。您还应该注意到,您的外部IP地址与您的ipv4地址不同,后者与您的ipv6地址不同,后者与localhost不同。在许多情况下,ipv4和localhost用于相同的事情,但它们并不相同。

这里有一些文章解释的差异:

http://www.howtogeek.com/140943/whats-the-difference-between-the-locahost-and-local-ip-address/

https://superuser.com/questions/414050/why-is-there-a-difference-between-ping-localhost-and-ping-local-ip-address

localhost vs real ip address

https://superuser.com/questions/196893/difference-between-localhost-and-the-ip-address

What is the difference between 127.0.0.1 and localhost

https://en.wikipedia.org/wiki/Localhost

https://superuser.com/questions/897699/what-is-the-difference-between-127-0-0-1-and-my-assigned-ipv4-address

我希望这可以帮助您解决您的问题!

1

可能是防火墙问题。在防火墙上打开您的IP地址和端口。

localhost和127环回地址在机器内回送。数据包不会出到局域网。

局域网IP - 数据包出局局域网,路由器和其他网络的东西,然后回到你的机器。中介 - 路由器,防火墙等可能有阻止这些数据包的策略。很多时候它是防火墙 - 无论是本地PC防火墙还是网络防火墙。

相关问题