POSTS

Heroku - Java HTTP 500 connection refused

Problem:

   HTTP ERROR 500
   Problem accessing /header.jsp. Reason: Connection refused
 

   Caused by:java.net.ConnectException: Connection refused at   java.net.PlainSocketImpl.socketConnect

Solution:

   Check that there are no calls hardcoded connections to localhost (JSP imports, etc)