Starting httpd: (98)Address already in use: make_sock: could not bind to add

| | 2013/11/15 15:29 , mdy
Linux 服务器 , 评论(0) , 阅读(5066) , Via 本站原创
vps启动不了
错误提示:
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down

查看是80端口被占用。解决方法就是删除进程

1.如果是windows平台,使用这条:netstat -aon|findstr "80",可以找到进程ID,直接杀掉;
2.如果linux平台,使用:lsof -i:80 ,看到pid没?不要犹豫,杀掉。