I am trying to host an R shiny server locally for others to access outside of my network. I was following along with an R-blogger post here. I think I need to edit the shiny-server.conf file and add the IP I want to use but I'm not having any luck. I saw on a couple of different posts that you need to edit the line in the listen
line in the server.conf file to something like listen 3838 [IP you want to use];
. I'm just struggling to get this to work. When I change that line, the shiny-server still uses my local IP address. In the R-blogger post, they talk about obtaining dynamic IP address or using a free dynamic DNS through duckdns. I'm just not very familiar with networking and I have no idea what I am doing here. I set up a site using duckdns and it seems to use my IP that I can find from whatismyip. I really thought this was going to be an easy thing to set up so some of my colleagues can look at some graphs I made in R. However, I have spent hours trying to get this to work so any help is greatly appreciated.
Just a heads up, I am using a raspberry pi 4 that is running ubuntu 20.10 for this and I have set up the port forwarding already. I have also open port 3838 on the raspberry pi using sudo ufw allow 3838