80端口被System 4 占用

2019-01-11 09:55:02       xhs
$ nginx -t
nginx: the configuration file D:\soft\server\nginx1.6.3/conf/nginx.conf syntax is ok
nginx: [emerg] bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)
nginx: configuration file D:\soft\server\nginx1.6.3/conf/nginx.conf test failed

netstat -ano|findstr "80"

解决:
netstat -ano|findstr "80"
Sc config http start= disabled

参考:
https://www.cnblogs.com/hope-help/archive/2013/05/13/3076606.html
https://jingyan.baidu.com/article/870c6fc37678c4b03fe4bef6.html

发表评论