I ran shinyproxy but nothing is happening

I followed these instructions to set up shinyproxy on a remote server using ubuntu 18.04: https://www.shinyproxy.io/getting-started/

I ran java -jar shinyproxy-2.3.0.jar

image

And it looks like it worked, but now I can’t type anything else in. The prompt is gone. I tried going to http://localhost:8080 as directed, but nothing happens. I just get the “this site can’t be reached… localhost refused to connect… ERR_CONNECTION_REFUSED”.

Am I supposed to be able to remote access this from a server? How can I proceed?

It is normal that you can’t type anything else.
Could the browser error be due to your proxy settings? See e.g. https://stackoverflow.com/questions/7227845/localhost-not-working-in-chrome-and-firefox

Thank you for your response! Let me ask a follow up question to make sure I’m understanding this/implementing it correctly…

I’m installing Docker and ShinyProxy on a remote server hosted by my school. As such, I’m not downloading the Docker for Windows software on my own computer, and instead installed ShinyProxy via GitHub on my server, since I’ll be hosting my app/website on this server. Does this make sense, or should I be installing it on my own computer and then remote accessing into the server somehow?

Further, the server set up comes with an “instance” with it’s own IP address. Given that, should I even expect http://localhost:8080/ to work on my computer’s browser? Or should I perhaps be typing something else into my browser - like http://[Instance IP address]/:8080?

I found another tutorial that said that if you are doing this on a remote server (as I am), then you should type in curl http://localhost:8080 to print the html of the site to the terminal. I did that, and it returned:
curl: (7) Failed to connect to localhost port 8080: Connection refused. However, when I checked sudo ufw status it returned inactive. Therefore, I don’t think this is a firewall issue (but I’m very new to this).

FYI, the solution is to use the IP address of your server (instead of localhost).