Solved

Problem with VNC

Posted on 2003-11-20
10
531 Views
Last Modified: 2010-03-19
Hi,

I just got RealVNC for XP, and ran the VNC Server. And I tried connecting to my computer using VNC Viewer from another computer running XP, I tried putting in "myip:5800" and "hostname:5800", but both resulted in a "cannot connect" message. I tried it on several other computers with XP and it's the same problem. I even tried connecting it using my browser by typing in "http://ipaddress:5800"  but that didnt work either.

I disabled my firewall. (Strangely, my windows XP firewall option is "greyed-out" and I can't enable it).

What am I doing wrong? By the way, if I can't just put in the numerical ip address, how do I find my exact host name to put into the VNC viewer?

Thanks,
0
Comment
Question by:zxzwin
  • 3
  • 3
  • 3
  • +1
10 Comments
 
LVL 35

Expert Comment

by:ShineOn
ID: 9795212
Where is "my computer" in relation to "another computer" - in other words, are they both on the same network?

If they aren't on the same network, then is there a definite route between them, somehow?  For instance, Computer 1 is on network A and computer 2 is on network B and Network A and Network B have a clear route established between them?

Believe it or not, yhr IP address (or the route to the IP address) is just as important as what IP port you hope to use to connect,

0
 
LVL 18

Expert Comment

by:chicagoan
ID: 9795213
Don't use the port number in the VNC dialgue box, numbers following the host in this box refer to instances of vnc on the server or 'display numbers', by default it's 0

if I can't just put in the numerical ip address, how do I find my exact host name to put into the VNC viewer?
If it's a public IP address with a DNS entry, do a reverse lookup (you need to know the IP!)
nslookup
set querytype=PTR
xxx.xxx.xxx.xxx
0
 
LVL 35

Expert Comment

by:ShineOn
ID: 9795236
You may want to review the documentation -

For the server:

http://www.realvnc.com/winvnc.html

For the viewer:

http://www.realvnc.com/winvncviewer.html
0
 
LVL 18

Expert Comment

by:chicagoan
ID: 9795242
just dawned on me, are you trying to use the Java vnc in a browser on port  5800?

The url would be

http://my.ip.add.ress:5800

If you're using the VNC viewer, just use the IP address...

if neither of those work, you'll have to explain your setup a little more thoroughly.

0
 
LVL 35

Expert Comment

by:ShineOn
ID: 9795262
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 10

Expert Comment

by:kiranghag
ID: 9801408
i dont know on what logic, but vnc also runs on port 5900 or 5901.
i check it this way,
go to the server and in the command prompt, do a "netstat -a",
and look for a 4 digit port number starting with 5,
that is mostly the port which is being used.
try to connect that.
0
 
LVL 10

Accepted Solution

by:
kiranghag earned 500 total points
ID: 9801413
and to add onto chicagoan's comment...

vnc allows you to connect using two methods,
1. using its own vnc viewer
2. using java compliant web browser

if u r using vnc viewer, u need to specify the "display" number on which the server is running, this can be optional too. i just provided server ip and it connected. and this display number is in lower numerical range, starting with 0, 1, ...

but when u use browser to connect, u ned to provide port number associated with each display.
display 0 may correspond to 5800, 1 may correspond to 5900...

make sure u dont jumble between the twos.
0
 
LVL 10

Expert Comment

by:kiranghag
ID: 9801417
sorry for this fragment, but forgot to add onto previous that i guess u can see the current display number from the system tray icon.
0
 
LVL 18

Expert Comment

by:chicagoan
ID: 9801421
default is 5900 for viewer display 0, 5901 for display 1, etc
5800 0 for http/java diplay 0, 5801 for 1 , etc
0
 
LVL 1

Expert Comment

by:SPH
ID: 9810804
Could be a typo. If you're logging in using the VNC viewer, using "machine:x" makes it think "x" is the machine number of the system you're trying to conenct to. It adds this number to 5800 or 5900 to get the port number. If you want to explicity state the port number you are connecting to, you need to use two colons -- "machine::portnum".
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
vMotion VLAN or just any IP address will do ? 8 69
CCNA Data center exam questions 8 80
SOFS cluser offline 3 40
Reseller Hosting 2 40
Some time ago I was asked to set up a web portal PC to put at our entrance. When customers arrive, they could see a webpage 'promoting' our company. So I tried to set up a windows 7 PC as a kiosk PC.......... I will spare you all the annoyances I…
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now