127.0.0.1 & localhost
localhost也叫local ,正确的解释是:本地服务器 127.0.0.1在windows等系统的正确解释是:本机地址(本机服务器) localhot(local)是不经网卡传输!这点很重要,它不受网络防火墙和网卡相关的的限制。 127.0.0.1是通过网卡传输,依赖网卡,并受到网络防火墙和网卡相关的限制。一般设置程序时本地服务用localhost是最好的,localhost
原创
2017-04-06 17:01:18 ·
300 阅读 ·
0 评论