25% off on first invoice for all services*

SPRING SALE

Use coupon

*Offer valid for new customers only

25% off on first invoice for all services*

SPRING SALE

Use coupon

*Offer valid for new customers only

Need help?

Our experts have had an average response time of 11.43 minutes in March 2024 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

VNC ports to open – How we enable it

by | Dec 6, 2019

Are you looking for which all ports to open in order to access VNC? Here we are to help you.

The default ports that VNC uses are TCP 5900 and TCP 5800 for the web interface.

At Bobcares, we often get requests to allow VNC ports, as a part of our Server Management Services.

Today, we will see how our Support Engineers opens ports for VNC.

 

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. And VNC uses default ports for this.

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.

 

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.

 

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 *

Categories

Tags

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

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

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