?
Solved

Can TightVNC connect through a dsl router

Posted on 2004-10-18
11
Medium Priority
?
1,105 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 57

Accepted Solution

by:
Pete Long earned 2000 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

ATEN's HDBaseT Presentation at InfoComm 2017

Hear ATEN Product Manager YT Liang review HDBaseT technology, highlighting ATEN’s latest solutions as they relate to real-world applications during her presentation at the HDBaseT booth at InfoComm 2017.

Question has a verified solution.

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

For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

777 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