此时有两种解决方法,一是更改appache的默认端口号 ,一般appache 默认为80端口 二是查看端口占用情况命令:netstat -tunlp|grep 端口号 把占用80端口的进程杀死 命令:kill -9 端口号