Skip to content

Configuring Network Ports in RStudio Connect#

By default, RStudio Connect uses port 3939 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 Connect.

To change the HTTP port to 80, add the following lines to the RStudio Connect configuration file:

File: /etc/rstudio-connect/rstudio-connect.gcfg
Listen = :80

Then restart RStudio Connect by running the following command:

$ sudo systemctl restart rstudio-connect

Additional documentation#

For more information on network ports and other related settings, refer to the HTTP settings and HTTPS settings in the Configuration Appendix of the RStudio Connect Administration Guide.