简体   繁体   English

在 AWS windows 服务器上部署 nodejs express

[英]Deploy nodejs express on AWS windows server

I deplyoed my nodejs application on a AWS server with windows server as OS.我在使用 windows 服务器作为操作系统的 AWS 服务器上部署了我的 nodejs 应用程序。 The application is a simple express server running on https port 443. The application is accessible through localhost, but I can access the app through public IP.该应用程序是一个运行在 https 端口 443 上的简单快速服务器。该应用程序可通过 localhost 访问,但我可以通过公共 IP 访问该应用程序。

Here are a few things I tried:以下是我尝试过的几件事:

I am still not able to access my app.我仍然无法访问我的应用程序。 I setup up inbound rules in my firewall for the port and nodejs itself.我在防火墙中为端口和 nodejs 本身设置了入站规则。

The issue was simply in my security group.问题只是在我的安全组中。 I had set up the IP addresses I was expecting, but one was missing.我已经设置了我期待的 IP 地址,但缺少一个。 It is working now.它现在正在工作。

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

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