What Ports Does VNC Viewer Use And How To Enable It?

This post may contain affiliate links and I may receive a small commission if you make a purchase using these links – at no extra cost for you. Please read my disclaimer here.

Have you ever needed to remotely access your computer? Maybe you're at work and need to access a file on your home computer, or maybe you're traveling and need to check in on your business. 

Whatever the reason, VNC Viewer is a great tool for the job! 

This software allows you to connect to your computer from anywhere in the world, as long as you have an internet connection. In this blog post, we will discuss how to set up VNC Viewer and what ports it uses. 

We will also cover how to enable remote connections so that you can access your computer from anywhere in the world!

VNC and everything you should know about it

VNC, or Virtual Network Computing, is a software that allows you to remotely access your computer. VNC Viewer is the most popular VNC software, and it is available for free. 

What Ports Does VNC Viewer Use And How To Enable It

With it, you can connect to your computer from anywhere in the world as long as you have an internet connection.

All you need is the IP address of your computer and the password that you set up when you installed the software. Once you have these two things, you're ready to connect!

The benefits of using VNC

There are many benefits to using VNC, but the most notable is that it allows you to remotely access your computer from anywhere in the world. 


With VNC, you can work on your business while you're on vacation, check in on your home computer while you're at work, or even provide tech support to a friend or family member! 


Another one of the benefits of having remote access to your computer is that it can act as a backup in case of an emergency. If your computer crashes while you're away, you can still access your files and data through VNC.

How to set up VNC Viewer

Now that we've covered the basics of VNC and how it works, let's discuss how to set it up. Setting up VNC is a simple process, and we will walk you through it step-by-step.

Downloading it

First, you'll need to download and install VNC Viewer. You can do this by visiting the VNC website and clicking on the "Download" button.

Installing it

Once the software is downloaded, double-click on the file to install it. Much like any other software, you'll need to agree to the terms and conditions before proceeding.

After that, the installation process is pretty straightforward - just follow the prompts, and you'll be up and running in no time!

Enter your IP address into the software

Next, you'll need to open VNC Viewer and enter the IP address of your computer. To find your computer's IP address, you can open the "Control Panel" and click on "Network and Sharing Center." 

Enter your IP address into the software

From here, you'll be able to see your computer's IP address. Once you have entered the IP address, click on the "Connect" button. 

You will be prompted to enter a password; this is the password that you set up when you installed VNC Viewer. After you have entered the password, you should see your computer's desktop appear in the VNC Viewer window!

And you are done!

And that's it! You've now successfully set up VNC Viewer and can remotely access your computer from anywhere in the world.

Regardless of your location, you'll be able to work on your files, browse the internet, and do anything else that you would normally do on your computer. 

Understanding the RFB protocol

In order for VNC Viewer to work, it needs to use a protocol called RFB. This stands for Remote Frame Buffer. RFB is a network protocol that allows a client (in this case, VNC Viewer) to remotely access a server (in this case, your computer).

The RFB protocol is responsible for sending images and mouse/keyboard input from the client to the server. It is also responsible for sending back images and other information from the server to the client. 

RFB is a very efficient protocol, and it can even be used over slow internet connections.

Understanding the RDP protocol

In addition to RFB, VNC Viewer also uses the RDP protocol. RDP stands for Remote Desktop Protocol. This is a Microsoft protocol that allows you to remotely access another computer.

RDP is very similar to RFB, but it has some additional features that make it more suitable for certain tasks. For example, RDP can be used to remotely access a computer that is running Microsoft Windows

The difference between VNC and RDP

Now that we've covered the basics of VNC and RDP, let's discuss the difference between these two protocols. The biggest difference is that VNC is designed to be platform-independent, while RDP is designed specifically for Microsoft Windows

This means that you can use VNC to remotely access a computer running any operating system, while RDP can only be used to remotely access a computer running Microsoft Windows. 

What are ports?

In order for VNC to work, you need to have certain ports open on your computer. Ports are like virtual doors that allow information to flow in and out of your computer.

What are ports

When you install VNC, it will automatically open the necessary port number on your computer. 

However, if you're behind a firewall or router, you may need to manually open the ports. We will discuss how to do this later in the blog post.

What is port forwarding?

If you're behind a firewall or router, you'll need to set up port forwarding in order for VNC to work.

Port forwarding is the process of redirecting traffic from one port to another. In this case, we will be redirecting traffic from the internet to our computer so that we can remotely access it.

Setting up port forwarding

The process of setting up port forwarding will vary depending on your router. We will include instructions for the most popular routers below. If you're using a different router, you'll need to consult your router's documentation for instructions.

The benefits of it

Firstly, it allows you to remotely access your computer from anywhere in the world. Secondly, port forwarding helps to improve security by only allowing connections from specific IP addresses or ranges. 

Finally, it can also help to improve performance by reducing traffic on your network.

The risks of it

Of course, where there are pros, there must be some cons. For instance, if you don't set up port forwarding properly, you can inadvertently open your network to security vulnerabilities.

Moreover, forwarding ports that are in use can cause conflicts and disruptions in your network. 

Finally, if you end up forwarding too many ports, it can overload your router and cause performance issues.

What ports does VNC use?

In order for VNC to work, it must use specific ports on your computer. By default, VNC Viewer uses port 5900. However, if this port is not available, it will automatically try to use ports 6000-60059. 

What ports does VNC use

If you're not sure which ports are available on your computer, you can check by going to the "Remote" tab in your VNC Viewer settings.

Moreover, if you are choosing software for business, you need to make sure you can safely connect it to the right ports. From here, you can see which ports are being used and which ones are available.

5900 (for Windows)

The 5900 port is the most commonly used port for VNC Viewer. If this port is not available on your computer, VNC Viewer will automatically try to use ports 6000-60059. 

To connect to your computer using the 5900 port, you will need the IP address of your computer and the password that you set up when you installed the software.

Enabling remote connections on the 5900 port for Windows

  • Click the Start button, then type "Remote Desktop" into the search box.
  • Click on Allow remote access to your computer.
  • Under "Network Level Authentication", select Require NLA.
  • Click Apply, then click OK.
  • Your computer is now set up to allow remote connections!

6000 (for Linux)

The port 6000 is used by VNC Viewer for Linux computers. This port is not enabled by default, but it can be enabled in the same way as the 5900 port. 

To enable the port, open your VNC Viewer settings and click on the "Remote" tab. From here, you can see which ports are being used and which ones are available.

Enabling remote connections on the 6000 port for Linux

  • Open your VNC Viewer settings and click on the "Remote" tab.
  • Click Enable under "Ports".
  • Enter "6000" into the Port field, then click OK.
  • Your computer is now set up to allow remote connections!

0001 (for Mac)

The port 0001 is used by VNC Viewer for Mac computers. This port is not enabled by default, but it can be enabled in the same way as the other ports. 

Again, to enable the port, open your VNC Viewer settings and click on the "Remote" tab. From here, you can see which ports are being used and which ones are available.

Enabling remote connections on the 0001 port for Mac

  • Open your VNC Viewer settings and click on the "Remote" tab.
  • Click Enable under "Ports".
  • Enter "0001" into the Port field, then click OK.
  • Your computer is now set up to allow remote connections!

Final words: What ports does VNC Viewer use and how to enable it?

As you can see, VNC Viewer uses specific ports on your computer in order to work. By default, it uses port 5900, but it will automatically try to use other ports if that one is not available.

You can enable the port by going to the "Remote" tab in your VNC Viewer settings. From here, you can see which ports are being used and which ones are available. To enable the port, simply click on Enable and enter the port number into the field

Once you've done this, your computer will be set up to allow remote connections! Thanks for reading!

About the author 

Peter Keszegh

Most people write this part in the third person but I won't. You're at the right place if you want to start or grow your online business. When I'm not busy scaling up my own or other people' businesses, you'll find me trying out new things and discovering new places. Connect with me on Facebook, just let me know how I can help.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}