简体   繁体   English

从 azure web 应用程序监听 UDP 服务器

[英]listen to UDP server from azure web apps

I am building a web app using node.js and the azure web app service.我正在使用 node.js 和 azure Web 应用程序服务构建一个 Web 应用程序。 My node.js server is supposed to accept UDP data from client devices, but I am having difficult time setting this up.我的 node.js 服务器应该接受来自客户端设备的 UDP 数据,但我很难设置它。

Does any form of azure web app service accept data from ports other than TCP 80 and 443?是否有任何形式的 Azure Web 应用服务接受来自 TCP 80 和 443 以外的端口的数据? Can an azure web app linux docker container be setup to accept data from a specific UDP port?是否可以将 azure web app linux docker 容器设置为接受来自特定 UDP 端口的数据?

Azure App Service is restricted to TCP 80/443. Azure 应用服务仅限于 TCP 80/443。 See Express Applications throwing 500 on azure .请参阅Express Applications 在 azure 上抛出 500

If you need to listen on a port different from 80/443, you'd need to deploy to a Virtual Machine which supports any TCP/UDP ports.如果您需要侦听不同于 80/443 的端口,则需要部署到支持任何 TCP/UDP 端口的虚拟机。

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

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