MAMP - localhost重定向到未知IP地址

时间:2017-12-19 11:45:46

标签: php apache mamp

我启动了Apache,当我访问http://locahost时,它被重定向到http://123.57.14.229(这个IP曾经在数据库中配置,但我在本地数据库中将其更改为127.0.0.1

当我查看lsof -i:80时,会显示如下。

在绿框中意味着什么?

enter image description here

我甚至尝试删除数据库并重新启动计算机,但问题仍然存在。

1 个答案:

答案 0 :(得分:0)

我在维基百科上发现了Bogon-s: https://en.wikipedia.org/wiki/Bogon_filtering

并且在ping它时IP看起来像真实的IP,

PING 123.57.14.229 (123.57.14.229): 56 data bytes
64 bytes from 123.57.14.229: icmp_seq=0 ttl=99 time=336.692 ms

所以我可能会说你安装了某种导致这种重定向的软件。你试过在不同的端口上运行apache吗?只是为了测试?