R Shiny on Remote Desktop (Windows Server 2019)

I would like to write and run Shiny apps using Remote Desktop on Windows Server 2019. This is normally possible without any issues - you can test it on VM remote server (as I did). However in my real world case running shiny app:

runApp(path,port=open_port)

where open_port is open port number, results in

Listening on http://127.0.0.1:open_port

and blank page:

enter image description here

As far as I can recognise running app does not result in having port open and listening i.e. I have checked in cmd using:

netstat -na | find "open_port"

that there is no activity on the port. Therefore it seems that something is blocking shiny from running the app. As mentioned before this is not a case if you try do in on clean Windows Server 2019 installation. Any help would be greatly appriciated.

This question was also asked on stackoverflow and even has a bounty of 100 rep. https://stackoverflow.com/questions/65845561/r-shiny-on-remote-desktop-windows-server-2019

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.