简体   繁体   English

WEB SOCKET CONFIG 未显示在 AZURE WEB 应用程序中

[英]WEB SOCKET CONFIG NOT SHOW IN AZURE WEB APP

I am real time app using node and socket.io.我是使用 node 和 socket.io 的实时应用程序。 And I deploy it to Azure web app, I have researched and find how to enable web socket in azure web app.我将它部署到 Azure Web 应用程序,我研究并找到了如何在 azure Web 应用程序中启用 Web 套接字。 It is enable 'Web sockets' in Configuration in Azure Portal.它在 Azure 门户的配置中启用“Web 套接字”。 But I cannot see 'Web sockets' config.但我看不到“Web 套接字”配置。

My question is:我的问题是:

It is error?是错误吗?

Or How I can enable socket in Azure Web App?或者如何在 Azure Web App 中启用套接字?

Here is image of my configuration:这是我的配置图像:

(it must be have Web Sockets tag) (它必须有 Web Sockets 标签)

在此处输入图像描述

It must be:肯定是: 在此处输入图像描述

If you have created the Azure Web App in Linux OS, then you'll not get the Option of enabling Web Socket in Platform settings:如果您在 Linux 操作系统中创建了 Azure Web 应用程序,那么您将不会在平台设置中获得启用 Web Socket 的选项:

在此处输入图像描述

If the Azure Web App is created in Windows OS Hosting plan, then the Web Socket option is enabled under the Configuration of App Service > Platform Settings:如果 Azure Web App 是在 Windows OS Hosting 计划中创建的,则 Web Socket 选项在 App Service 的配置 > 平台设置下启用:

在此处输入图像描述

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

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