dimanche 24 mai 2015

Cannot access Tomcat via web after EC2 reboot

I rebooted my Amazon EC2 instance, and now I can't connect to my Tomcat7 web server via the web.

Here's what I've tried, to no avail:
1) Confirmed that my settings are correct in Tomcat's server.xml file:

    <Connector port="8080" protocol="HTTP/1.1"
           connectionTimeout="20000" />
               redirectPort="8443" />

    <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
           maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
... />

2) updated my iptables via this post:

/sbin/iptables -A INPUT -i eth0 -p tcp --dport 80 -j ACCEPT
/sbin/iptables -A INPUT -i eth0 -p tcp --dport 8080 -j ACCEPT
/sbin/iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080

3) Reviewed my tomcat catalina.out log (success, no errors)

4) Tried connecting to my domain via ip. It redirects to https, but doesn't show anything. I cannot get either of my webapps up, nor the Tomcat7 homepage.

Any help would be appreciated!




Aucun commentaire:

Enregistrer un commentaire