简体   繁体   English

Azure UDP套接字限制?

[英]Azure UDP Sockets Limitations?

So I'm trying to get a scheduled job running using Azure WebJobs. 因此,我试图使用Azure WebJobs运行计划的作业。 In this case I'm sending a UDP message to 10,000+ servers and getting back a UDP response from them. 在这种情况下,我将向10,000多个服务器发送UDP消息,并从中获取UDP响应。

This works great on my local machine, but when I kick it off in Azure the first thousand or so requests go through, but then I can't open any more sockets as I get the following error: 这在我的本地计算机上效果很好,但是当我在Azure中启动它时,前一千个请求通过了,但是由于出现以下错误,我无法再打开任何套接字:

 Unhandled Exception: System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions 208.64.200.52:27011
[05/17/2015 22:44:38 > 01cb94: ERR ]    at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
[05/17/2015 22:44:38 > 01cb94: ERR ]    at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
[05/17/2015 22:44:38 > 01cb94: ERR ]    at System.Net.Sockets.UdpClient.Connect(IPEndPoint endPoint)

I'm not opening more than about 10 sockets at once here, what Azure rule am I breaking here? 我在这里一次打开的套接字不超过10个,我在这里违反了什么Azure规则?

我最终交换到了VM,但似乎对使用的总带宽也有严格的限制-尽管我似乎找不到列出的位置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM