Network Port and Address

By default, Posit Workbench accepts connections on port 8787 for HTTP and 443 for HTTPS.

Configuring a custom HTTP port

To configure Workbench to listen on a different port, modify the www-port option in rserver.conf and restart Workbench. For example:


By default Workbench binds to address (accepting connections from any remote IP). You can modify this behavior using the www-address option. For example:


Then restart Workbench by running the following command:

$ sudo rstudio-server restart

Changes to the configuration do not take effect until the server is restarted.