VNC / Java through a Proxy / Firewall
Jonathan Morton
chromi "at" cyberspace.org
Sat, 24 Jun 2000 06:19:15 +0000
>Scott Bowden wrote:
>>
>> OK, I looked through the mailing list archives, but didn't find quite this
>> situation. I found some info, but didn't quite succeed.
>>
>> Here goes:
>>
>> I'm behind a HTTP proxy and a firewall. I did some portscanning, and I
>> know that ports 32790 and 32792 are open for TCP . So my plan was to use
>> 32790 for my VNC port, and 32792 as the http port for loading the java
>> applet.
>>
>> I tried this:
>>
>> > ./vncserver :26890 -httpport 32792
>>
>> The purpose of this being to make it so that the HTTP runs on 32792 , and
>> the actual VNC runs on 32790 (26890 + 5900).
>>
>> I can access the system via http://ip:32792 , and I get the login
>> box. However, when I try to login, it sits for a minute or so, and then
>> gives me a 'java.net.NoRouteToHostException: Operation timed out'.
>>
>> So it looks like the HTTP port is working, but I'm not making it to the
>> VNC port. Am I missing something here? [Is the actual VNC UDP and not
>> TCP?]
If <display number> is more than 99, VNC uses <display number> as the raw
port number. Replace your vncserver command line with the following:
./vncserver :32790 -httpport 32792
and it should start working. Read the docs a little more closely next time =)
--------------------------------------------------------------
from: Jonathan "Chromatix" Morton
mail: chromi "at" cyberspace.org (not for attachments)
uni-mail: j.d.morton "at" lancaster.ac.uk
The key to knowledge is not to rely on people to teach you it.
Get VNC Server for Macintosh from http://chromatix.autistics.org/vnc/
-----BEGIN GEEK CODE BLOCK-----
Version 3.12
GCS$/E/S dpu s:- a19 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$ V? PS PE-
Y+ PGP++ t- 5- X- R !tv b++ DI+++ D G e+ h+ r- y+
-----END GEEK CODE BLOCK-----
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------