100字范文,内容丰富有趣,生活中的好帮手!
100字范文 > nginx: [emerg] bind() to 0.0.0.0:443 failed (10013: An attempt was made to access a socket in a way

nginx: [emerg] bind() to 0.0.0.0:443 failed (10013: An attempt was made to access a socket in a way

时间:2019-06-15 07:17:11

相关推荐

nginx: [emerg] bind() to 0.0.0.0:443 failed (10013: An attempt was made to access a socket in a way

启动nginx 报如下错误:

nginx: [emerg] bind() to 0.0.0.0:443 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)

根据错误提示发现 443端口 被占用,

使用命令netstat -ano 或者 netstat -aon|findstr "443"

发现pid 3348 监听443端口:

我们在用命令:tasklist|findstr 3348 查看那个进程在用 443:

发现是vm service占用了443 端口。

要么关掉vm service,要么使用修改nginx 监听端口。两种方法都可以。

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。