Two alternatives:

1)  Configure your router to forward any incoming connection using the
relevant port (5800 for the web browser connection) to the computer hosting
VNC.  See www.portforward.com for help with this (and your router's
manual!).  Most routers provide this facility, although terminology varies:
look for "virtual servers" or "port forwarding".

If you have multiple machines running VNC, some routers allow you to
"translate" the port number, so you can configure port 8000 (say) to route
to one VNC server operating on 5800, and 8001 (say) to a different machine,
also on 5800, which makes it easy to access several machines on one network
via a single router.  Alternatively you can set your VNC servers to use
different ports (5800, 5801) and route those ports to the various machines.
You'd connect using the IP address (e.g.) http://aaa.bbb.ccc.ddd::5801 (not
double colon). You may not need this, but it's worth mentioning for
completeness.

2)  You're using the web browser interface, but if you use the standard
server connection (defaults to port 5900) you can achieve a connection if
you initiate it in the reverse direction - from the server, instead of to
the server.  You have to run a "listening" client on the machine at the
other end, then use the right-click menu on the VNC tray icon to "add a new
client", supplying the IP address.  If the client PC is directly connected
to the Internet (e.g. by dial-up), or if the "listening" port 5500 is being
correctly forwarded by any router at that end, then the connection will be
made.  This is a useful way of operating for anyone supporting a number of
friends or clients who may not have the knowledge or patience to configure
routers at their end.

HTH

Phil, London

-----Original Message-----
...

Message: 1
From: "Roger Withnell" <ro...@upperbridge.co.uk>
To: <vnc-list@realvnc.com>
Subject: Connecting to a server behind a router
Date: Sat, 24 Jan 2009 19:23:26 -0000

My Server is 192.168.2.2 on my private network.
I can connect from the Viewer with http://192.168.2.2:5800 .

My static IP address is a.b.c.d

What is the address syntax to connect from a Viewer's browser over the
Internet to my Server.
_______________________________________________
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to