Skip to content

Configuring Network Ports in Posit Workbench#

RStudio is now Posit!

Our professional products have been renamed to Posit Connect, Posit Workbench, Posit Package Manager, Posit Cloud, and Posit Academy so it’s easier for folks to understand that we support more than just R. Please review our Blog post/FAQ to answer commonly asked questions about the rebrand.

By default, Posit Workbench, formerly RStudio Workbench, 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 Workbench.

To change the HTTP port to 80, add the following line to the Workbench configuration file:

File: /etc/rstudio/rserver.conf
www-port=80

Then restart Workbench 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 Workbench Administration Guide.