10013: An attempt was made to access a socket in a way forbidden by its access permissions
说明是80端口被占用了
按键盘win+r 打开运行界面,输入cmd,确定,打开管理员界面
输入
netstat -aon | findstr :80
1
然后我的是被端口4占用了,那么来看看4端口是谁?
tasklist|findstr "4"
1
然后发现是system;
其实用了两个端口 1935 8080
netstat -aon | findstr :8080
nginx.exe -c conf\nginx.conf