C# TCP 错误代码 10061:无法建立连接,因为目标机器主动拒绝它
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15804647/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
TCP error code 10061: No connection could be made because the target machine actively refused it
提问by Ranjita Das
Could not connect to net.tcp://localhost:5051/user. The connection attempt lasted for a time span of 00:00:02.0600206. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:5051.
无法连接到 net.tcp://localhost:5051/user。连接尝试持续了 00:00:02.0600206 的时间跨度。TCP 错误代码 10061:无法建立连接,因为目标机器主动拒绝它 127.0.0.1:5051。
Firewall is block? Have any Idea?
防火墙是块?有什么想法吗?