Skip to content

Ports

Use this table to plan firewall rules and spot conflicts. These are the defaults, so check what your installation uses with the posit-workbench, posit-connect, and posit-pm scripts.

Service Port Protocol Notes
Workbench 8787 HTTP Default when TLS is not configured on Workbench1
Workbench 443 HTTPS With ssl-enabled=12
Workbench 80 HTTP Redirect to HTTPS2
Job Launcher 5559 TCP (TLS optional) rserver to launcher; local only unless sessions run elsewhere3
Connect 3939 HTTP Default HTTP listener4
Connect 443 HTTPS [HTTPS] Listen4
Connect 80 HTTP [HTTPRedirect] Listen4
Package Manager 4242 HTTP Default HTTP listener; set [HTTP] Listen = empty to disable5
Package Manager 443 HTTPS Needs cap_net_bind_service on the binary5
Package Manager 2112 HTTP Prometheus metrics6
PostgreSQL 5432 TCP Product databases7
NFS 2049 TCP Shared storage8
LDAP / LDAPS 389 / 636 TCP If used for authentication8
Kerberos 88 TCP/UDP If used with PAM8

Outbound

Destination Port Needed by
rspm-sync.rstudio.com 443 Package Manager (online)9
wyday.com 443 Online license activation9
IdP (for example login.microsoftonline.com) 443 Connect and Workbench SSO10
Package Manager 443 Workbench,11 Connect12
Git hosts 443 or 22 Workbench users, Connect Git backed content,13 Package Manager Git builders14

Checking listening ports

List the listening sockets, and look for the ports in the table above:

sudo ss -tlnp

Then test that a remote host accepts connections. A successful check prints succeeded! (or open on some nc builds):

nc -zv packagemanager.example.com 443

With SELinux enforcing, a product on a nonstandard port also needs a port label:15

sudo semanage port -l | grep -w http_port_t