- Newest
- Most votes
- Most comments
Hi,
to simplify the resolution of you current issue, I would suggest to start by connecting with EC2 Instance Connect: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect-linux-inst-eic.html
This tutorial may be helpful: https://www.youtube.com/watch?v=lxSNeF7BAII
If you have problems with Instance Connect, follow this guidance: https://repost.aws/knowledge-center/ec2-instance-connect-troubleshooting
When instance Connect works, you can go to next step with remote SSH.
Best,
Didier
I have tried the given answers but it is not coming can you me any other @Didier_Durand
With the limited information provided, it looks like you are trying to host a website on EC2? If so this error could happen whenever the security group does now allow the port (80/443) you are trying to connect.
Can you please tell the inbound and outbound rules to be added for depolying django i tried all but it is showing like that only following i added security group rule ID
I
SSH Inbound rule 1 Type TCP 22
Custom Inbound rule 1 Source 0.0.0.0/0
Permit web requests
HTTP Inbound rule 2 Type TCP 80
Custom Inbound rule 2 Source 0.0.0.0/0
Delete sgr-0f3441ebaf79506f4
HTTP Inbound rule 3 Type TCP 80
Custom Inbound rule 3 Source ::/0
Kindly check the port on which you are running the webserver in the configuration. You should see something like 'runserver x.x.x.x:<port>'.
You need to allow that specific port in the security group or update the config to port 80 which is already allowed in your security group (assuming nothing else runs on port 80)
Relevant content
- asked a year ago
- asked 9 months ago
- asked 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
More information needed with your setup. What you are trying to achieve and where you are seeing the error.