Answer the question
In order to leave comments, you need to log in
How to access HTTP server on Amazon EC2?
Hello!
Got myself an Amazon EC2 instance. I can easily connect to it via SSH via putty, but I cannot access the HTTP server, which I start with the command: sudo python -m SimpleHTTPServer
Then I try to open http://public_dns:8000 in the browser and Connection Timeout crashes.
Also, neither Public IP nor Private IP is pinged.
I tried to make sudo ufw disable
and enable HTTP in the instance settings (Security Groups-> Add inbound Rule->HTTP), but it did not help.
The fact is that I am not very versed in network technologies, and therefore I do not understand the difference between Public IP, Private IP and Public DNS - why do I need it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question