R-Shiny web server on local server

I have a Windows machine with IIS and I see the IIS welcome page at http://myname/ . I recently started using Shiny through my own server, and I see brilliant applications at http://127.0.0.1:port

Now my question is: how to allow other users to view my brilliant applications at http://myname:port ? (since 127.0.0.1 is not available from other computers). Is this possible with the free shiny version?

+8
r shiny
source share
3 answers

You should do the following:

  • Find your IP ("ipconfig" from cmd prompt in Windows)
  • Install Shiny to start with port β€œXXXX” and your IP (instead of 127.0.0.1)

    For example:

    (shiny.port = 7775)

    options (shiny.host = "192.0.0.45")

  • Run the application

    runApp (application)

Make sure the port is open in your firewall.

+3
source share

Comments have already spoken about this, but in the interest of providing an answer:

You can use a brilliant server (free and professional) to host applications on your own server. I believe this will allow you to configure it to http: // myname / , however the brilliant server should work in linux environment, as @pops pointed out.

https://www.rstudio.com/products/shiny/shiny-server/

Or

you can use shiny.io to host them for you, with premium versions that can set your own domain

https://www.shinyapps.io/

0
source share

When using Shiny localy, the library installs a server on which you can access the Brilliant application. If you want to make it available on the local network, you need to configure the Shiny server .

You will need a Linux server with R and Shiny, in addition to all the libraries you need. To configure it, you can follow this

After fully configuring the server, you can add your own applications to the server by adding applications to the folder:

/ Srv / brilliant server / MYAPP

And will be available in yourServerAddress:3838/myApp

0
source share

All Articles