简体   繁体   English

Azure VM上的Sails.js部署问题

[英]Sails.js deployment issue on azure vm

I am deploying my sailsjs app using forever in windows azure. 我正在永远在Windows Azure中部署我的sailsjs应用程序。 And it is taking forever to get my server up and running. 而且,要使我的服务器正常运行是永远的。 Initally it was working fine when it was http but I changed to SSL with self signed certificate and things are not working at all. 最初它是http时工作正常,但我更改为带有自签名证书的SSL,并且一切都无法正常工作。 I tried forever list and it was showing my server was up and running but I can't knock my server at all. 我尝试了永远的列表,这表明我的服务器已启动并正在运行,但我根本无法敲响服务器。 I tried to knock the server using curl and it was telling me port 443 connection refused. 我试图用curl敲服务器,并告诉我端口443连接被拒绝。 Can anyone help. 谁能帮忙。

I found the issue. 我发现了问题。 Deploying it as a Super user solves the problem. 将其部署为超级用户可以解决此问题。 In linux when we deploy to a port below 1024 we need to have superuser access. 在Linux中,当我们部署到1024以下的端口时,我们需要具有超级用户访问权限。

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

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