Solved

Anyone know what port number VNC uses?

Posted on 2004-03-24
7
21,904 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
[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
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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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 article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
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…

710 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