ShinyProxy on Ubuntu 16.04



I am trying to get shinyproxy working on my local machine with ubuntu 16 but currently stuck at the last step.
I can login at localhost:8080 with tesla user, than when I click on an app, it gives me

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is eu.openanalytics.ShinyProxyException: Failed to start container: java.util.concurrent.ExecutionException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:2375 [localhost/] failed: Connection refused

I have added the port 2375 to my docker opts and restarted docker. Any ideas?



Hi Ger,

Many thanks for your question. The getting started guide was written
still using an Ubuntu 14.04 LTS machine. We’ll try to reproduce the
issue on a 16.04 machine and come back to you shortly.



Thanks for your patience, Ger.

Ubuntu 14.04 LTS still uses upstart and will read the configuration in /etc/default/docker as indicated in the Getting Started Guide.

Ubuntu 16.04 uses systemd and will not read the configuration in /etc/default/docker, but reads the configuration in /lib/systemd/system/docker.service.

In /lib/systemd/system/docker.service, change the line

ExecStart=/usr/bin/docker daemon -H fd://


ExecStart=/usr/bin/docker daemon -H fd:// -D -H tcp://

then do

sudo systemctl daemon-reload
sudo systemctl restart docker

and launch ShinyProxy as usual, i.e. using

java -jar shinyproxy-0.2.0.jar

Does that work for you? If yes, we’ll update the documentation on


Hi Tobias,

yes it is working:-)
Thanks a lot for your help!

regards, Ger