Tomcat running, port 80 connection refused error

At first, everything was fine, until today. My site (running on Apache Tomcat) gave a No Data Received error page in Chrome. I panicked, and tried port 8080. It worked. Port 80 was failing. So I tried doing SSH to my EC2 Instance, and restarting tomcat. The restart worked, but my site still failed. I tried using sudo curl localhost:80 on my instance (Ubuntu Linux AMI), and I got this error: curl: (7) Failed connect to localhost:80; Connection refused. What does it mean, and more importantly, how can I fix this issue?


Often if you are running Tomcat on port 80, you are proxying through a web server (Apache, nginx, etc.). It may be that your webserver failed. (as posted by @datasage)

Need Your Help

Proper compiler intrinsics for double-checked locking?

c++ multithreading locking intrinsics

When implementing double-checked locking, what is the proper way to do the memory and/or compiler barriers when implementing double-checked locking for initialization?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.