Skip to content

Configuring Network Ports in RStudio Server Pro

By default, RStudio Server Pro uses port 8787 for HTTP and port 443 for HTTPS.

Configuring a custom HTTP port

You can configure custom network ports by editing the configuration file and restarting RStudio Server Pro.

To change the HTTP port to 80, add the following line to the RStudio Server Pro configuration file:

File: /etc/rstudio/rserver.conf

www-port=80

Then restart RStudio Server Pro by running the following command:

Terminal

$ sudo rstudio-server restart

Additional documentation

For more information on network ports and other related settings, refer to the Network Port and Address section in the RStudio Server Pro Administration Guide.