express - Possible Reasons for Error Connection Timeout EC2 - Stack Overflow

I have an EC2 running simple ExpressJS app with PM2 and Nginx set up as a reverse proxy which accepts t

I have an EC2 running simple ExpressJS app with PM2 and Nginx set up as a reverse proxy which accepts the request to upload the file. The connection between Nginx and PM2 is set up at localhost:5000

The security group is set up to allow inbound traffic at ports 80 and 22.

The public IP address of EC2 is secured with SSL using Route53 and custom domain.

But when the POST request is sent to it, it causes error_connection_timeout. Note that Expressjs app works fine locally.

Is the issue being dur to security group not configured properly? But as mentioned, the ports are set up to allow all inbound traffic at 22 and 80

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744346722a4569729.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信