The port assignment is done at the VNC server. The default port is 5900. On some VNC servers you can have the server answer on more than one port which facilitates multiple user connections. So each additional connection would increment the port number by one (ie 5901).
↧