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条)