« Back to docs

All about direct connections

Note

Direct connectivity is only available with an Enterprise subscription.

A direct connection is one that you broker yourself. You must know the IP address or hostname of the remote computer at the moment you want to connect to it, and you will likely need to reconfigure intermediate firewalls and routers in advance too. See the appropriate infographic below for a private network such as a LAN or VPN and a public network such as the Internet.

Note

To any remote computer with an Enterprise subscription, you can establish a direct connection, a cloud connection, or both. Read our guide to cloud versus direct for more information.

You must enable direct connectivity on each remote computer you want to control. You can do this at the same time as you apply your subscription to that computer:

  • If you sign in to VNC Server at install-time using your RealVNC account credentials (email address and password), simply follow the in-app instructions.
  • If you enter a license key (either desk-side or remotely), direct connectivity is automatically enabled.

You can check whether direct connectivity is enabled for a particular computer by examining the VNC Server status dialog and seeing whether IP addresses are listed:

../_images/direct-connectivity-check-server-status.png

To establish a direct connection, you don’t need to sign in to VNC Viewer. Just enter an available IP address in the search bar:

../_images/faq-direct.png

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:80 for port 5980 or 192.168.5.236::80 for port 80.

Setting up a direct connection over a local network (LAN or VPN)

You will need:

  1. A remote computer to control:

    ../_images/get-connected-local-1.png
  2. A local device to control from:

    ../_images/get-connected-local-2.png
  3. Both connected to the same local network:

    ../_images/get-connected-local-3.png

Now do this:

  1. ../_images/get-connected-local-a.png

    Download VNC Server to the computer you want to control and choose an Enterprise subscription.

  2. ../_images/get-connected-local-b.png

    Use VNC Server to look up the private (internal) IP address of the computer.

  3. Download VNC Viewer to the device you want to control from.

    ../_images/get-connected-local-c.png
  4. Enter the private IP address in VNC Viewer to establish a direct connection.

    ../_images/get-connected-local-d.png
  5. Enter the user name and password you typically use to log on to the VNC Server computer.

    ../_images/get-connected-local-e.png

Setting up a direct connection over the Internet

You will need, in addition to the above:

  1. Both devices connected to the Internet:

    ../_images/get-connected-internet-1.png
  2. Make and model of your router:

    ../_images/get-connected-internet-2.png

Now do this:

  1. Configure the VNC Server computer’s firewall to add an exception for VNC.

    ../_images/get-connected-internet-a.png
  2. Configure the VNC Server computer’s router to forward port 5900.

    ../_images/get-connected-internet-b.png
  3. Look up the VNC Server computer’s public (external) IP address.

    ../_images/get-connected-internet-c.png
  4. Enter the public IP address in VNC Viewer to establish a direct connection.

    ../_images/get-connected-internet-d.png
  5. Enter the user name and password you typically use to log on to the VNC Server computer.

    ../_images/get-connected-internet-e.png
×