[SOLVED] Error 500. Connect to localhost, connection refused


I encounter this issue after running java -jar shinyproxy-0.8.6.jar and access my app


Status code: 500

Message: Failed to start container: java.util.concurrent.ExecutionException: javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:80 [localhost/, localhost/0:0:0:0:0:0:0:1] failed: Connection refused

I am using centos and I have tried changing localhost:80 to localhost:3838 etc to no avail.

I ran my app standalone no issue
sudo docker run -it -p 3838:3838 template1

Need some advise.



On cento I have added the following line to docker config var/system/docker

other_args="-H tcp:// -H unix:///var/run/docker.sock"

It is inline with the Docker startup configuration

However, on Centos as the above mentioned have to tweet a little.
I took reference from: