Solved

Can TightVNC connect through a dsl router

Posted on 2004-10-18
11
1,102 Views
Last Modified: 2013-11-30
If I have a pc running tightvnc in server mode behind a dlink wireless router and the routeris connected to a dsl modem or a cable modem. Can I conneect to that pc from another location on the internet? Can you have more than one pc running tightvnc connected to the same router? If you can how does the router know which pc/address you are trying to connect to?
Thanks
WHIWEX
0
Comment
Question by:whiwex
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
11 Comments
 
LVL 57

Expert Comment

by:Pete Long
ID: 12337992
Running VNC through routers/Firewalls

If you are on the CONTROLLING computer and are behind a router you will need to open port 5900 TO the IP address of the CONTROLLED PC. (this is usually the external IP address of the router at the CONTROLLED end)

You will need to set the router at the CONTROLLED end to forward port 5900 traffic to the CONTROLLED IP address).

NB. VNC web traffic travels over ports 5800 to 5900

Why the different numbers?

VNC installs a mini web server that listens on ports 5800 to 5900, it does this because, if you need to control multiple PCs you can set so that the last two digits of the port number become the DISPLAY number (client number)

for example

machine 1 = 0 (that's port 5800) to connect type http://<public IP address>:5800
machine 2 = 1 (that's port 5801) to connect type http://<public IP address>:5801

Obviously at the CONTROLLED end the router/firewall must be set up to forward port 5800 to machine 1's IP address etc.

Why port 5900 then?

The APPLICATION uses this port


*****Links*****

Download RealVNC
http://www.realvnc.com/

Download TightVNC
http://www.tightvnc.com/

Connecting over the web Java VNC Viewer
http://www.realvnc.com/javavncviewer.html
0
 
LVL 3

Expert Comment

by:Felix2000
ID: 12340002
Once you map your ports correctly look at ultravnc.sourceforge.net  UltraVnc gives you more features like file transfer and ability to map one port to serveral machines.

-= Felix =-
0
 

Author Comment

by:whiwex
ID: 12340275
Pete
If my pc is making the connection to a remote pc am I the controlling pc and the remote pc is the controlled pc?
If this is the case then on my router I don't need to change anything but on the remote router I need to open port 5900 to my ip address. Is this correct?
Thanks
WHIWEX
0
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 
LVL 57

Accepted Solution

by:
Pete Long earned 500 total points
ID: 12340309
yes - though unless youve got a really good cisco router you just need to FORWARD port 5900
0
 

Author Comment

by:whiwex
ID: 12349464
I have a linksys wrt54g router. I go into applications and games and add ports 5800 to 6000. But I can't change the IP address to the address of the pc thats trying to connect. I can only change it to the address that I will allow a connection to. Is this correct?
Thanks
WHIWEX
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 12349600
yes thats correct, I have the same router :) - also make sure youve upgraded the firmware the new version is a lot better
0
 

Author Comment

by:whiwex
ID: 12350637
I can't connect from the remote router. I can connect accross my lan but not across the internet.
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 12360191
Is the router on the latest firmware?
0
 

Author Comment

by:whiwex
ID: 12366054
I'll check the frimware. I'm not sure my IP address is being router by my isp.
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 12367147
OK - to find your IP go to http://www.whatismyip.com/
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 12480792
ThanQ
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question