Direct connectivity is only available with some subscriptions.
A direct connection is one that you broker yourself, without endpoints having to ‘phone home’ 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, VNC Connect uses port 5900 TCP/UDP, so you must allow this port inbound to VNC Server and/or outbound from VNC 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 VNC Viewer search bar (you don’t need to sign in):
You may also need to qualify the address with a port number if VNC Server is listening on a port other than the default 5900, for example
192.168.5.236:80for port 5980 or
192.168.5.236::80for port 80.
Authenticate to VNC 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 VNC Server:
- If you sign in to VNC 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 VNC 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 VNC Server to the computer you want to control.
- Use VNC Server to look up the private (internal) IP address of the computer.
Download VNC Viewer to the device you want to control from.
Enter the private IP address in VNC Viewer to establish a direct connection.
- Enter the user name and password you typically use to log on to the VNC 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 VNC Server computer’s firewall to add an exception for VNC.
Configure the VNC Server computer’s router to forward port 5900.
Look up the VNC Server computer’s public (external) IP address.
Enter the public IP address in VNC Viewer to establish a direct connection.
Enter the user name and password you typically use to log on to the VNC Server computer.
You say at the very beginning,"Direct connectivity is only available with some subscriptions." Without telling us which subscriptions can use this option & which can't, you have missed an opportunity to provide useful information.
I second Fr Coffey's comment.
I used to be able to direct connect within our LAN, but when I "upgraded" to VNC Viewer 7.1.0(r49525) x64 (Apr 3 2023) I can no longer establish a direct connection. Does my version not allow me to Direct Connection? It seems a bit silly to have to go to the cloud in order to come back into the LAN and make a connection! Right?
I also agree with the comment about not telling us which license we would need for direct connections. It makes the entire article useless and for both writer(s) and readers a complete waste of time.
Also, why are cloud connections (which may lead to serious costs if a metered connection has to be used) free and must be paid for direct connections? RealVNC should explain this, because it makes users distrust the privacy - if we opt for the "free" cloud option, is our data monitored to allow RalVNC to earn money in some other way, like ads?
Please sign in to leave a comment.