AWS EC2 instance not pingable or available in browser

Posted by Slimmons on Server Fault See other posts from Server Fault or by Slimmons
Published on 2013-11-02T02:15:12Z Indexed on 2013/11/02 3:56 UTC
Read the original article Hit count: 367

Filed under:
|
|
|
|

I've seen this questions asked other places, but now I've run through every fix proposed in other questions so I'm re asking it here, in hopes that someone will have a different solution.

Problem: I have a EC2 instance, and I can ssh into it and work on it, and I have a Elastic ip set to it. I am unable to ping this machine, or log in to it using my browser.

Solutions mentioned and tried:

  1. service httpd start

    i. response I get is "unrecognized service"

    ii. when I run apache2ctl -k start, it shows "httpd already running", so I'm assuming httpd is not the problem, it's just possibly named something else because of apache2, or for whatever reason.

  2. I went into EC2->Security Group-> Default (which is the one I used.)->inbound, and everything there is set up correctly (I'm assuming). There it shows 80(HTTP) 0.0.0.0/0. 443(HTTPS) 0.0.0.0/0, and various other servies with their ports and 0.0.0.0/0 next to them. I also enabled a rule for enabling ICMP Request All on 0.0.0.0/0 temporarily for testing purposes

  3. I've tried disabling the iptables with "service ufw stop"

  4. Just in case I'm doing something really stupid, because I'm not all that used to connecting to web servers that I've spun up, I'm typing in the address to the machine into the url like this (assuming my ip address was ip.address).

    i. http:/(slash)ip.address/

    ii. ip.address

    iii. https:/(slash)ip.address/

    iv. ip.address/webFolderName/

    v. http:/(slash)ip.address/webFolderName/

None of the attempts worked, and the only thing I haven't tried that i've seen is to start wireshark on the machine, and see if the requests are reaching it, and it's just ignoring them. I'm not sure I want to do that yet, since A). I'm not 100% positive how to use wireshark without the gui, since it's the only way I've ever used it (I really should get used to it in terminal, but I didn't even know you could). B). It really seems like I'm missing something simple in getting this to work. Thanks in advance for any help.

© Server Fault or respective owner

Related posts about apache2

Related posts about ubuntu