10013: An attempt was made to access a socket in a way forbidden by its access permissions
Posted 学习笔记
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了10013: An attempt was made to access a socket in a way forbidden by its access permissions相关的知识,希望对你有一定的参考价值。
以上是nginx报错,原因:端口被占用。
查看nginx.conf都监听了哪些端口,比如笔者配置如下:
查询端口被占用的命令:windows下根据tcp端口查询对应的进程id(端口被占用)
netstat -navo|find /i "listen"|find /i ":443"
查看任务管理器
这个端口是在vmware安装时选择默认web管理端口是没更改,导致443端口被占用。可以改nginx https端口或者关闭vmware进程。
以上是关于10013: An attempt was made to access a socket in a way forbidden by its access permissions的主要内容,如果未能解决你的问题,请参考以下文章
10013: An attempt was made to access a socket in a way forbidden by its access permissions
An attempt to set a process's DebugPort or ExceptionPort was made
SharePoint2013 - “An unrecognized HTTP response was received when attempting to crawl this item“解决方案
视频平台EasyNVR在win10系统中运行报错“An attempt was made to access a socket in a way”