获取“远程主机强行关闭了现有连接."来自Azure [英] Getting 'An existing connection was forcibly closed by the remote host.' from Azure
本文介绍了获取“远程主机强行关闭了现有连接."来自Azure的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尝试遵循Microsoft Azure的事件中心入门"示例(
While trying to follow the 'Get Started with Events Hub' example for Microsoft Azure (http://azure.microsoft.com/en-us/documentation/articles/service-bus-event-hubs-csharp-ephcs-getstarted/#introduction), when I try to run either receiver or sender programs defined there, I get the following exception: 'An existing connection was forcibly closed by the remote host.'
由于这是在尝试连接到Azure时,并且在Azure门户中一切似乎都已就绪(按照上述示例),所以我陷入了困境.
Since this is while trying to connect to Azure, and in the Azure portal everything seems to be in place (following the example mentioned above), I am stuck.
我将西欧地区用作我的活动中心.
I am using West Europe location for my Event Hub.
推荐答案
您想尝试的事情:
- 确保您的连接字符串为connect.
- 尝试对连接字符串中的主机部分执行ping操作.
- 检查防火墙.
- 检查您是否确实发送了一些消息,并且是否有消息要接收,因为空闲连接可能已关闭.
这篇关于获取“远程主机强行关闭了现有连接."来自Azure的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文