Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

VNC FAQ-o-Matic : VNC and Firewalls : What TCP ports does VNC use?

0
Posted

VNC FAQ-o-Matic : VNC and Firewalls : What TCP ports does VNC use?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123