apache [error] (EAI 5)No address associated with hostname: Could not resolve host name

来源:互联网 发布:网络迷情金紫阳剧情 编辑:程序博客网 时间:2024/06/02 21:18

重启apache报错:

[error] (EAI 5)No address associated with hostname: Could not resolve host name *.80 -- ignoring!

当然是修改过的了。

查问题。

是符号写错了。 

应该是 *:80 写成了 *.80 or *;80 

都会报错。

做为系统管理员的工作。要认证对待每个字符。

一位网友的原话。让我很不好意思。:

Please don't shout (use capitals), it doesn't make anyone help you any quicker.

The error is shown quite clearly - you are using a semi-colon (;) instead of a colon (:)

Part of being a good sysadmin is the details - easy mistake to make but the error is clearly shown.

PickledOnion