Simple question of making VNC accessible in web browser

S. I. Becker stewart "at" sibecker.co.uk
Wed Nov 15 09:45:01 2006


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