Solved

Anyone know what port number VNC uses?

Posted on 2004-03-24
7
21,882 Views
Last Modified: 2012-05-04
I want to be able to connect to my pc from work, but need to know what port # to open.

Thank you
0
Comment
Question by:MrBean
7 Comments
 
LVL 67

Accepted Solution

by:
sirbounty earned 25 total points
ID: 10673252
By default, a VNC server will listen for connections from a VNC viewer on TCP port "5900+N", where N is the "Display Number" (usually just zero). So a VNC server setup for Display-0 will listen on TCP-5900, Display-1 is TCP-5901, etc.

Additionally, the VNC server will listen for connections from a web-browser on TCP port "5800+N", where N is as above. If you point a web-browser to this port, the VNC server will automatically provide a Java VNC viewer that runs right in your web-browser. This Java Viewer will then exchange data with the VNC Server on the same ports a normal VNC Viewer would use: "5900+N".

Lastly, if you start a "server-initiated connection" to a Listen-mode Viewer (this is a pretty advanced mode), the connection will be to TCP port "5500+N" on the Viewer.
ref: http://faq.gotomyvnc.com/fom-serve/cache/52.html
0
 

Author Comment

by:MrBean
ID: 10673257
5900 sound right?
0
 

Author Comment

by:MrBean
ID: 10673267
sirbounty, I thought by default the display should be 0, so I should use 5900 right?
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 11

Expert Comment

by:infotrader
ID: 10673377
sirbouty is right.  5900 is correct answer most of the time, unless you change it or use multiple displays.

- info
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 10673546
Sorry for the delay there - yes, if it's set with defaults, 5900 is your port #.
Thanx infotrader. :D
0
 
LVL 1

Expert Comment

by:shoobin
ID: 10673691
0
 

Expert Comment

by:Manpreetbr
ID: 10898207
yes it use 5900 .
0

Featured Post

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Monitor bandwidth 3 83
CMDB relationships for hardware assets 2 29
network error 8 34
Viber-Only Restriction 6 24
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

910 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

22 Experts available now in Live!

Get 1:1 Help Now