3 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hi,
In order to troubleshoot effectively I would suggest to login into your EC2 instance and try to check if your application is working by the running this command:
wget http://localhost
If your application is actually running you should get back an output line containing
HTTP request sent, awaiting response... 200 OK
If your application is running I would recommend to double check:
- Security Group
- Network ACL of your Subnets
répondu il y a un an
0
I am unable to get this exercise to work. I have ssh'd to the ec2 instance and notice that when I enter the following command:
$ wget https://aws-tc-largeobjects.s3-eu-north-1.amazonaws.com/DEV-AWS-MO-GCNv2/FlaskApp.zip
I get the response:
-bash: wget https://aws-tc-largeobjects.s3-eu-north-1.amazonaws.com/DEV-AWS-MO-GCNv2/FlaskApp.zip: No such file or directory
Is this why the example doesn't work?
répondu il y a 9 mois
Contenus pertinents
- demandé il y a 5 mois
- demandé il y a 2 mois
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 7 mois
- AWS OFFICIELA mis à jour il y a 4 mois
- AWS OFFICIELA mis à jour il y a un an
I am not sure how to run a command for an EC2 instance. Can you tell me how to do this?
To run the command on Ec2 instance you first need to connect to the instance by following one of the methods listed here: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstances.html Once you logged to your instance you can actually run the command by simply copy and paste this code "wget http://localhost"
Okay, I connected to my EC2 instance via ssh, and I ran the command you gave me through AWS CloudShell, and I got the following error
What should be my next step?
Hi, here you can see that you application is not actually running, as you it is not reachable from you localhost. This exclude that the issue that you are facing is actually related to security group or other Ec2 network configurations. My suggestion now to keep troubleshooting is the following:
Did this help? can you please consider to accept my answer?