Apache无法启动报错:Name or service not known: mod_unique_id: unable to find IPv4 address of "xxxx"

MAMP 启动报错:

[Thu Nov 17 17:38:51 2016] [alert] (EAI 8)nodename nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of "lihaomindeMacBook-Pro.local"
Configuration Failed

解决方案:

修改 /etc/hosts,添加一行

127.0.0.1    xxxxxx  

注意: 这里的xxxxxx 是你的主机名

你可能感兴趣的:(Apache无法启动报错:Name or service not known: mod_unique_id: unable to find IPv4 address of "xxxx")