Bobcares

How to Open VNC Ports?

by | Dec 6, 2019

 Are you looking for which all ports to open in order to access VNC? Today, we will see how our Support Engineers opens ports for VNC. At Bobcares, we often get requests to allow VNC ports, as a part of our Server Management Services.

Overview
  1. What is VNC?
  2. How We Open VNC Ports?

What is VNC?

VNC aka Virtual Network Computing enables control over a remote system. Basically, it is a graphical desktop sharing system. We can access this through platforms like Linux, Windows, macOS.

But to use VNC, it is important to have an idea about the ports to use. So, let’s have a look at it.

How We Open VNC Ports?

In order to access a remote system via the internet, we need to connect to it. VNC typically uses the following ports:

1. TCP Port 5900: This is the default port for the first VNC server. Each additional server increments the port number by 1. For example:

First VNC server: TCP port 5900

Second VNC server: TCP port 5901

Third VNC server: TCP port 5902 etc.

2. TCP Port 5800: This port is used for the VNC web interface, which allows you to access VNC sessions through a web browser. Similar to port 5900, each additional server increments the port number by 1. For example:

First VNC server web interface: TCP port 5800

Second VNC server web interface: TCP port 5801

Third VNC server web interface: TCP port 5802 etc.

The default ports that VNC uses is 5900. But for the web interface, it uses 5800. In addition, we can also use multiple ports starting from 5900+N. Now let’s check out how to open these ports on various platforms.

Steps to Open VNC Ports in Linux

Usually, our Support Engineers do this by forwarding the port in the router or by adding firewall rules.

Port forwarding in the router: So, to access VNC over Internet we open the ports in the router. Here are the steps we follow:

1. Initially, we access the router’s web interface.

2. Then select the section port forwarding.

3. Here we create a new rule for port forwarding. For this, we give the source and destination ports as TCP 5900. Then give the destination address as the IP of the local machine.

4. Later, we check if the ports are listening or not.

Adding firewall rules: Similarly, in a Linux system, we need to add firewall rules to open ports. By this, we ensure the port is open whenever a user tries to access it. Hence we add rules to open access to ports like 5900, 5800, etc.

Steps to Open VNC Ports in Windows

Usually, we open ports in Windows via the Windows Firewall with Advanced Security. Our Support Engineers do this as follows:

1. Firstly, we open the Group Policy Management Editor.

2. Here we select the option Windows Firewall with Advanced Security. And this option appears as,

VNC ports to open.

3. Then select the option Inbound Rules from Windows Firewall with Advanced Security

4. Now the New Inbound Rule Wizard opens.

5. Next, select the following options as moving forward.

  • Rule Type: Port
  • Protocol and Ports: TCP and give the Specific local ports as 5900.
  • Action: Allow the connection
  • Profile: Domain/ Private/ Public
  • Name: Provide the name and description if needed.

6. Finally, click Finish to exit and save the rule.

[Need assistance in accessing a VNC? – We can help you.]

Conclusion

In short, the VNC ports to open are the default ports 5900 and 5800. In addition, for accessing VNC via a web interface we can use port 5800. Today, we saw how our Support Engineers do this in Linux and Windows.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF