admin管理员组

文章数量:1405993

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

本文标签: expressPossible Reasons for Error Connection Timeout EC2Stack Overflow