How do I change the port for the Java viewer?
Fri Jun 6 14:20:01 2003
I think I see what we must do now. Please correct me if I am wrong. Your
reply was very helpful because I did not understand that the Java client
port was just calculated by subtracting 100 from the non-Java client port.
We are running the server on a Microsoft Windows 200x or XP system, so the
5900 for the port number is in the registry. We have been using a Linksys
router to map port 23 into 5900 and port 80 into 5800 and we have not
changed the registry. We have a static IP address we use in conjunction
with the Java client that we use for nothing else.
If we change the port in the registry to 180 and use the Linksys router to
map port 23 into 180, I think we will cause the Java client to use port 80
in communication and retain port 23 for the non-Java client. Correct?
Thanks for your help.
> Date: Thu, 5 Jun 2003 15:47:34 -0400 (EDT)
> Subject: Re: How do I change the port for the Java viewer?
> From: "William Hooper" <firstname.lastname@example.org>
> To: email@example.com
> Jayne Keller said:
> > We use viewers with port 23 or 80 because these are most likely to work
> > from
> > inside a school system. Yesterday, I tried the Java viewer for the
> > time. When I looked at the source for the page containing the Applet, I
> > saw
> > that it contained a "PORT" parameter with value "5900." How do I change
> > this
> > parameter's value?
> > Jayne Keller
> This is usually handled automatically to be a port 100 less than the RFB
> port (for example: display 1 is 5901, java viewer 5801). Obviously since
> your ports are under 100 that might be an issue. What OS and version of
> VNC are you using?
> William Hooper