【发布时间】:2018-01-30 08:41:47
【问题描述】:
当我尝试在端口 8080 上运行服务 (RavenDB) 时,它会停止并且 Windows 日志显示以下错误:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.HttpListenerException: Failed to listen on prefix 'http://+:8080/' because it conflicts with an existing registration on the machine.
根据 IIS 和netstat -an | find "8080",该端口当前未使用。
如果我将端口更改为任何其他端口,问题就会消失。
【问题讨论】:
-
如果你输入
telnet localhost 8080,有什么反应吗? -
我收到
Connecting To localhost...Could not open connection to the host, on port 8080: Connect failed -
所以绝对没有什么在听。我想知道 .net 在哪里找到它的“现有注册”
标签: windows-10 port