An attempt was made to access a socket in a way forbidden by its access permissions

启动Nginx报错:10013:An attempt was made to access a socket in a way forbidden by its access permissions

原因:端口被占用。查看nginx.conf都监听了哪些端口:

An attempt was made to access a socket in a way forbidden by its access permissions_第1张图片

修改端口即可

你可能感兴趣的:(nginx,nginx)