Connecting over the Internet

R-Studio and R-Studio Agent can be connected over the Internet. The connection can be made either using IP addresses or DNS names.

If hosts where R-Studio and R-Studio Agent are running have public IP addresses the connection can be made the same way as for the local network, except that the IP address or DNS name should be explicitly specified in the Computer filed the Connect to Remote Computer dialog box

If either (or both) of the hosts are on private networks behind NATs and firewalls and do not have public IP addresses, the corresponding ports should be opened or forwarded. In addition, connection should be made either only from R-Studio or from R-Studio Agent.

Connection directions

* Both R-Studio and R-Studio Agent have public IP addresses (no NAT/firewall) or the ports on the NAT/firewall are forwarded/opened.

A connection can be made either from R-Studio or from R-Studio Agent.

*R-Studio is behind a NAT and R-Studio Agent has a public IP address or the ports on its NAT/firewall are forwarded/opened.

A connection should be made from R-Studio.

*R-Studio has a public IP address or the ports on its NAT/firewall are forwarded/opened and R-Studio Agent is behind a NAT.

A connection should be made from R-Studio Agent.

* Both R-Studio and R-Studio Agent are behind NATs/firewalls.

No connections are possible.

Connection from R-Studio Agent to R-Studio

R-Studio settings

If a connection is to be made from R-Studio Agent to R-Studio, R-Studio should be set to accept connection on theConnect to Remote Computer dialog box.