VNC Server perl script and C++ Code
steve menard
edranem "at" dranem.org
Thu Jan 24 16:13:01 2008
>>> numbers with each block being
>>> 300 ports apart, e.g.
>>>
> 1..99,300..399,600..699 and so on
> Why ports are 300 aparts. is any particular
> reason there?
>
Yes Java Port is 100 less than VNC Port both are required free:
when you use port :0 it is BOTH 5800 & 5900
when you use port :10 it is BOTH 5810 & 5910
when you use port :90 it is BOTH 5890 & 5990
X11 [standard 'desktop at the keyboard' uses 6000] -- so you can't use
6000 or :100
When you use the next batch of available port numbers
when you use port :300 it is BOTH 6100 & 6200 [so no conflit with 6000]
when you use port :310 it is BOTH 6110 & 6210
when you use port :399 it is BOTH 6199 & 6299 [ next port conflict
with 6200 ]
> 300 ports apart, e.g. 1..99,300..399,600..699 and so on. Scanning
> straight
> through from 1..1000 should work, but will waste time scanning ranges
> that
> cannot be used because of port clashes.
>
> Regards,
>
> --
> Wez @ RealVNC Ltd
>