Reputation: 39
I HAVE FIXED THIS ISSUE. Please read answer below
I have installed shiny-server on Ubuntu 14.04.4 LTS with VirtualBox. After forwarding port 3838 in my router and setting a bridged network, then assigning a static IP to my virtual Ubuntu machine, I am being able to connect remotely, from a computer outside from my network and visualize the "hello" example app page, but only the HTML code is rendered.
Both R and markdown iframes are not working (connection is reset and they are grayed). On the other hand, I can perfectly browse the hello application from both, my host computer of from the guest machine itself.
The ports are open, I have checked it with a remote computer. My host computer runs on Windows 10 and I have also configured the firewall to allow TCP/UDP in/out traffic through port 3838.
I have got shiny server working on host 0.0.0.0 after running the command options(shiny.host="0.0.0.0") on RStudio but I still only can see the ui.R controls rendered and nothing from server.R that is still grayed.
Any idea of what can be causing this behaviour?
Upvotes: 1
Views: 3418
Reputation: 39
In order to get shiny server running I have followed the official installation guide in www.rstudio.com/products/shiny/download-server/ as mentioned before.
There are a few details that allowed me to make it run from a remote host (a computer outside my network connecting via Internet).
Here is a screenshot of my router configuration just in case someone finds it useful: Click here to see router port forwarding for shiny image
Upvotes: 1