Knowledge base

Knowledge base: All Platforms
Does VNC Server support IPv6

Platforms supporting IPv6

VNC Enterprise Edition 4.1.7 and later & Personal Edition 4.1.2 and later support both IPv6 and IPv4 on the following platforms:

  • Windows XP, 2003 and above (with Microsoft TCP/IP Version 6 installed)
  • GNU/Linux 2.2.x and above (with IPv6 module loaded or built-in to kernel)


IPv6 support in VNC Viewer E4.1.7/P4.1.2

VNC Viewer E4.1.7 & P4.1.2 are fully IPv6-aware, and can connect to hosts specified by IPv4 address, IPv6 address or by DNS name. In the case of DNS names, VNC Viewer will attempt to connect to each address associated with the host name in turn until a connection succeeds. If a host has both IPv4 and IPv6 addresses registered with DNS then VNC Viewer will usually attempt to connect first using IPv6, and fall back to IPv4 only if that fails.

VNC Viewer uses the colon (":") as the delimiter between hostname and port number, which clashes with IPv6 addresses' use of the same character as a separator. VNC Viewer therefore allows hostnames and addresses to be escaped by enclosing them within square braces ("[" and "]"), preventing colon separators from being mis-interpreted as port number delimiters.

Handling of IPv6 addresses is dealt with by the host operating system. Compliance with the IPv6 specification is therefore dependent upon the support provided by the host operating system. In particular, functionality such as embedded IPv4 addressing (.e.g addresses such as ::ffff: is not supported on some systems.

IPv6 support in VNC Server E4.1.7/P4.1.2

VNC Server E4.1.7 & P4.1.2 are fully IPv6-aware, but is shipped with IPv6 support disabled by default, for security reasons. IPv6 can be enabled by setting "InTransports=IPv6,IPv4" (the default being IPv4 only), either on the command-line when starting vncserver under Unix, or in the registry on Windows systems.