A direct connection is one that you broker yourself, without endpoints having to connect to RealVNC’s cloud service.
You must know the IP address or hostname of the remote computer at the moment you want to connect, and you will likely need to reconfigure intermediate firewalls and routers in advance too.
By default, RealVNC Connect uses port 5900 TCP/UDP, so you must allow this port inbound to RealVNC Server and/or outbound from RealVNC Viewer. See the set up instructions below for a private network such as a LAN or VPN, or a public network such as the Internet.
Establishing a direct connection
To establish a direct connection:
-
On the remote computer you want to control, make sure direct connectivity is enabled.
-
On the local computer or mobile device you want to control from, enter the IP address or hostname of the remote computer in the RealVNC Viewer search bar (you don’t need to sign in):
You may also need to qualify the address with a port number if RealVNC Server is listening on a port other than the default 5900, for example
192.168.5.236:80
for port 5980 or192.168.5.236::80
for port 80. -
Authenticate to RealVNC Server running on the remote computer. The password you enter depends upon which subscription you have. Find out what this is.
Enabling direct connectivity on a remote computer
You must enable direct connectivity on each remote computer you want to control. You can do this when you license RealVNC Server:
- If you sign in to RealVNC Server at install-time using your RealVNC account credentials, simply follow the in-app instructions.
- If you apply an offline license (either desk-side or remotely), direct connectivity is automatically enabled.
You can check whether direct connectivity is enabled for a computer by examining the RealVNC Server dialog and checking for IP addresses:
Setting up a direct connection over a local network (LAN or VPN)
You will need:
-
A remote computer to control:
-
A local device to control from:
-
Both connected to the same local network:
Now do this:
- Download RealVNC Server to the computer you want to control.
- Use RealVNC Server to look up the private (internal) IP address of the computer.
-
Download RealVNC Viewer to the device you want to control from.
-
Enter the private IP address in RealVNC Viewer to establish a direct connection.
- Enter the user name and password you typically use to log on to the RealVNC Server computer.
Setting up a direct connection over the Internet*
*to maximise security, RealVNC strongly recommends cloud connections be used for connecting from the Internet.
You will need, in addition to the above:
-
Both devices connected to the Internet:
-
Make and model of your router:
Now do this:
-
Configure the RealVNC Server computer’s firewall to add an exception for VNC.
-
Configure the RealVNC Server computer’s router to forward port 5900.
-
Look up the RealVNC Server computer’s public (external) IP address.
-
Enter the public IP address in RealVNC Viewer to establish a direct connection.
-
Enter the user name and password you typically use to log on to the RealVNC Server computer.
Comments
Article is closed for comments.