I got a 64-bit ubuntu instance running on Amazon EC2, and then followed the instructions here to get the shiny server (for R) running. Next I ran
cd /var/shiny-server/www
sudo git clone https://github.com/trestletech/shiny-sandbox.git .
as instructed here to put a simple example shiny application within reach of the shiny server. (I also used scp
to move a second toy set of shiny application files, server.R
and ui.R
into a folder in my home directory.)
Finally, I want to access my shiny apps from a browser, as if I were an ordinary web user. However (obviously) I know next to nothing about how web pages,servers, and addresses conspire to make the internet work. How can I visit my server/app?
This page suggested entering
http://<your amazon machine name>:3838/
in a browser. I've tried substituting several things in for <your amazon machine name>
including the public and private IP address, my Amazon "instance ID", my "Public DNS", but none of these things results in a web page loading.
A couple of things you'll need to check:
/var/...
). Nowadays shiny-server expects your applications to be hosted in /srv/shiny-server
. And actually, if you're using the recently released version 1.1 of Shiny Server, there should be some content at http://<server address>:3838/
without you having to even deploy any apps yet. But, of course, feel free to setup your applications first./var/log/shiny-server.log
to see if there are any helpful error messages there and post them back here.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With