Simple question of making VNC accessible in web browser

Astan Chee stanc "at" al.com.au
Sat Nov 25 16:10:00 2006


Hi,
The "one-port" option that was suggested doesnt seem to 
work.
The following error occured when trying to view via 
internet explorer a VNC server (enterprise edition version 
4.2.7 i think) with both java and main connection set to 
port 80:
rfb.Exception: reading version failed: not an RFB server?
This ofcourse happens after the password prompt in the 
java applet.
Im not sure what is causing this. Any ideas or workarounds 
for this problem?
Also I noticed something strange in that although the 
server is 4.2.7, the client in the java applet says it is 
vnc viewer 4.2.6 . not sure if this is the issue or not.
Thanks again for all your help.
Cheers
Stan

>> ---------- Forwarded message ----------
>> From: "S. I. Becker" <stewart "at" sibecker.co.uk>
>> To: "vnc-list "at" realvnc.com" <vnc-list "at" realvnc.com>
>> Date: Wed, 15 Nov 2006 09:44:02 +0000
>> Subject: Re: Simple question of making VNC accessible in 
>>web browser
>> To remove the need for ":xxxx" at the end, you need to 
>>have the java
>> viewer being served on the standard http port, which is 
>>port 80.
>>
>> There are two basic ways of doing this
>>
>> Either:
>>
>> 1) Forward port 80 on your router to port 5800 on your 
>>computer,
>>
>> Or (e.g. if your router does not support changing the 
>>port, or you want
>> to omit :5800 while _inside_ your LAN).
>>
>> 2) Forward port 80 on your router to port 80 on your 
>>computer, and
>> change the VNC java port to 80.
>>
>> Port forwarding is needed because your ip address to the 
>>outside world,
>> is actually your IP address of your router.  It then 
>>needs to know what
>> to do with connections on each port - whether to ignore 
>>them (probably
>> the default).
>>
>> In either case, you will also need to forward port 5900 
>>on your router
>> to your PC.
>>
>> NOTE: IF YOU ARE USING REALVNC FREE EDITION, THE ABOVE 
>>IS NOT SECURE.
>> IT IS HIGHLY RECOMMENDED TO TUNNEL VNC THROUGH SOME 
>>OTHER SECURE
>> CHANNEL, SUCH AS SSH OR VPN.  (The Personal and 
>>Enterprise editions are
>> more secure, or take a look at VeNCrypt -
>> http://sourceforge.net/projects/vencrypt/ ).
>>
>> You don't need Apache - Apache is for actual web-sites 
>>servers, not
>> other services that also use the http protocol.  Indeed 
>>if you have
>> Apache on your system and try to change the java port to 
>>80, one or
>> other will fail, because you can only have one thing 
>>listening to port
>> 80.  If you do have Apache (or any other web-server), 
>>you can configure
>> it to work in harmony with VNC, by setting up a page in 
>>it just like the
>> one VNC serves, but from your e-mail I'm assuming that 
>>you don't have
>> Apache, and so don't need to do this.
>>
>> HTH,
>>
>> Stewart
>>
>> Astan Chee wrote:
>> > I dont understand how port forwarding (due to my lack 
>>of knowledge in
>> > it) can solve it.
>> > Even if i forward port 5900 and 5800 in my router does 
>>that mean i can
>> > access the vnc server simply by typing http://<ip 
>>address> instead of
>> > http://<ip address>:5800 ?
>> > Sorry but im not all that familiar with port 
>>forwarding and had several
>> > accidents with it in the past.
>> > Thanks for you for your help!
>> > Cheers
>> > Israel A. Martmnez Ibarra wrote:
>> >> you don't need apache; the only thing to do is to 
>>forwar the port 5900
>> and
>> >> 5800 in your router/modem to see your vnc server from 
>>the WAN side.
>> >> for more help to do forwarding go to 
>>http://www.portforward.com
>> >> cheers.
>> >>
>> >> ----- Original Message -----
>> >> From: "Astan Chee" <stanc "at" al.com.au>
>> >> To: <vnc-list "at" realvnc.com>
>> >> Sent: Tuesday, November 14, 2006 11:47 PM
>> >> Subject: Simple question of making VNC accessible in 
>>web browser
>> >>
>> >>
>> >>
>> >>> Hi,
>> >>> I have a winXP machnine running with a VNC server on 
>>it.
>> >>> What Im trying to do is access said machine from the 
>>outside  world
>> via
>> >>> a web browser. I can do it fine if I type http://<ip 
>>address>:5800 in
>> >>> the URL where <ip address> is the ip of my computer.
>> >>> Now what Im trying to do is get access when I dont 
>>have access to port
>> >>> 5800. This means that when I type http://<ip 
>>address> in the URL the
>> >>> same should happen. I searched and read in a few 
>>places saying that I
>> >>> needed apache installed on my machine and that I 
>>needed to change
>> >>> settings in both VNC and apache. What Im asking is 
>>how do I do this?
>> Are
>> >>> there any tutorials that shows how I can do this?
>> >>> Similar to IBM's BladeCenter management module (the 
>>remote control
>> >>> section) for those who have used/seen it before.
>> >>> Thanks
>> >>> _______________________________________________
>> >>> VNC-List mailing list
>> >>> VNC-List "at" realvnc.com
>> >>> To remove yourself from the list visit:
>> >>> http://www.realvnc.com/mailman/listinfo/vnc-list
>> > _______________________________________________
>> > VNC-List mailing list
>> > VNC-List "at" realvnc.com
>> > To remove yourself from the list visit:
>> > http://www.realvnc.com/mailman/listinfo/vnc-list
>> _______________________________________________
>> VNC-List mailing list
>> VNC-List "at" realvnc.com
>> To remove yourself from the list visit:
>> http://www.realvnc.com/mailman/listinfo/vnc-list