开发者

127.0.0.1 works, localhost not, on apache2 server

Installed apache2 on my Win 开发者_StackOverflowXP SP3, and it's going well if I acess 127.0.0.1, but when I try to type 'localhost' it returns the error that connection to server has been reset. I tried to ping 'localhost', it shows something like

Reply form ::1: time<1ms

In system32\drivers\etc\hosts it is stated that localhost is 127.0.0.1 (127.0.0.1 localhost). Why could this happen? I've run out of variants.


::1: is the ipv6 equivalent of localhost - apache seems to only listen on ipv4

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜