Hej Asbjorn Hojmark <Asbjorn@Hojmark.ORG>
>>> Ja, du snakker om at sætte porten til noget negativt. Det er
>>> ikke, hvad der står i FAQ'en, at man skal.
>
>> Er det ikke hvad der står her:
>
>
http://www.uk.research.att.com/vnc/winvnc.html
>
>"PortNumber
>specifies the port number to be used for VNC. You will need to
>disable AutoPortSelect to use this.
>Local or Global per-user setting"
Det står tilgengæld i FAQ'en.
http://www.uk.research.att.com/vnc/faq.html#q53
Q53 Can I run VNC over a port normally used for a standard service?
(eg. port 21, or port 80)
In rare circumstances, people may want to do this, perhaps because
they have a firewall which only allows connections to certain ports.
This can be done, at least for the Windows and Unix servers (see their
documentation), but the following points need to be borne in mind:
On some systems (eg. most forms of Unix), ordinary users are not
allowed to run servers on ports below 1024.
You obviously can't run a VNC server on a port that's already being
used for other things.
Many VNC servers use two ports: one for the VNC server, and one for
the HTTP server that provides the Java applet (see previous question).
If you plan to use the Java viewer, you may want to change both. Not
all servers will allow this at present.
You need to tell the viewer the right display number. Normally,
display numbers come between 0 and 99. If you specify any number
smaller than 99, the viewers add 5900 to get the port number. If you
specify a larger number, the viewers take it as a port number
directly. So how do you use port numbers lower than 99? You have to
specify a negative display number! For example, to connect to a server
running on port 80 on machine 'snoopy':
vncviewer snoopy:-5820
because -5820 + 5900 = 80. This may not work with all viewers, but
Unix and Windows seem to be fine.
--
Lars Kim Lund
http://www.net-faq.dk/