Configure the firewall to accept incoming connections

When the computer with VNC or RDP server has a firewall software running, it requires additional configuration to be open for the incoming connections. The default TCP port numbers are 5900 for VNC protocol and 3389 for RDP protocol.

Most operating systems have built-in firewall software. OS X allows incoming Screen Sharing connections by default. Windows allows incoming connections on port 3389 automatically while RDP is enabled in system preferences, but might require an additional configuration for VNC servers.

Here are the instructions on how to make Windows firewall accept incoming VNC/RDP connections.


Windows XP

  1. Choose Start > Control panel, then click Windows Firewall in Network and Internet Connections category.
  2. Choose the Exceptions tab.
  3. Click Add port button.
  4. Set the name (e.g. VNC) and port number.
  5. Choose TCP protocol.
  6. Click OK.

Windows Vista

  1. Choose Start > Control panel, then click Allow a program through Windows Firewall in Security category.
  2. Choose the Exceptions tab.
  3. Click Add port button.
  4. Set the name (like “VNC”) and port number.
  5. Choose TCP protocol.
  6. Click OK.

Windows 7

  1. Choose Start > Control panel, then click System and Security
  2. Click Allow a program through Windows Firewall in Windows Firewall section.
  3. Click Change settings button.
  4. Click Allow another program button.
  5. Choose your VNC server from the list and click Add.
  6. Enable Home/Work (Private) option.
  7. Click OK.

Windows 8

  1. Press Windows key.
  2. Type “firewall” and select Settings in the right-side panel.
  3. Choose Allow an app through Windows Firewall.
  4. Click Change settings.
  5. Click Allow another app...
  6. Choose your VNC server from the list and click Add.
  7. Enable Private option.
  8. Click OK.

Windows 10

  1. Press Windows key.
  2. Type “firewall” and select Windows Firewall in the right-side panel.
  3. Choose Allow an app through Windows Firewall.
  4. Click Change settings.
  5. Click Allow another app...
  6. Choose your VNC server from the list and click Add.
  7. Click Network Types...
  8. Enable Private option.
  9. Click OK.

If your computer is running a third-party firewall software, please refer to its documentation for information.

RELATED INFORMATION
Configure the network router to accept incoming connections

Connect via Remotix Cloud