Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

Products and Accounts

Support

Knowledge

Communities

Success

Learning

My Subscriptions

Loading

Knowledge Base

Testing port connectivity with Telnet (1003487)

Last Updated: 9/23/2018Categories: TroubleshootingTotal Views: 45481Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglish

14 like this article

Subscribe to get an email
newsletter with new updates

14 people found this helpful Please provide article feedback:

Purpose

For troubleshooting purposes, it may be necessary to test connectivity to the different ports on your servers. This article provides you with the steps to use the Telnet utility to test connectivity to different ports on your servers from Windows, Linux, or Mac OS X.

Resolution

Testing port connectivity with Telnet from Windows

Note: The Telnet client is not installed by default on Windows 7, Windows Server 2008 R2, Windows Vista, Windows Server 2008, Windows 8, and Windows Server 2012. For more information, see the Microsoft TechNet article, Install Telnet Client.

The preceding link was correct as of January 25, 2013. If you find the link is broken, provide feedback and a VMware employee will update the link.

To initiate a Telnet test to a port from Windows:

Open a command prompt. For more information, see Opening a command or shell prompt (1003892).

In the command prompt window, type:

telnet server port

Where server is the hostname or IP address of the server, and port is the port that you want to connect to.

Press Enter.

Note: To exit the Telnet application, press Ctrl + ], then type quit.

Depending on the application that uses the port, you may only see a blank screen with a cursor in the corner; this is normal. Some common outputs of a successful connection attempt are:

Connecting to port 902 on an ESXi/ESX host:

C:\>telnet server 902
Connecting...

220 VMware Authentication Daemon Version 1.10: SSL Required, ServerDaemonProtocol:SOAP, MKSDisplayProtocol:VNC

Connecting to port 25 on a mail server:

C:\>telnet server 25
Connecting...

220 server ESMTP Sendmail 8.13.3/8.13.3;

Connecting to port 443 on the vCenter Server:

C:\>telnet server 443
Connecting...

220 VMware Authentication Daemon Version 1.10: SSL Required, ServerDaemonProtocol:SOAP, MKSDisplayProtocol:VNC

If Telnet is unable to connect to the port, the output is similar to:

C:\>telnet server 902
Connecting To server...

Could not open connection to the host, on port 902: Connect failed

If the connection is refused, a firewall may be blocking that port from your source to the destination server. For more information, see Required ports for configuring an external firewall to allow ESX and vCenter Server traffic (1005189).

Testing port connectivity with Telnet from Linux or Mac OS X

To initiate a Telnet test to a port from Linux or Mac OS X:

Open a shell prompt. For more information, see Opening a command or shell prompt (1003892).

Note: Several distributions of Linux do not have a Telnet client installed by default. Refer to the website of your distribution for details on whether one is available and how to install the package.

In the shell prompt window, type:

telnet server port

Where server is the hostname or IP address of the server, and port is the port that you want to connect to.

Press Enter.

Note: To exit the Telnet application, press Ctrl + ], then type quit.

Depending on the application that uses the port, you may only see a blank screen with a cursor in the corner; this is normal. Some common outputs of a successful connection attempt are:

Connecting to port 902 on an ESXi/ESX host:

[root@server]$ telnet server 902
Trying server...
Connected to server.
Escape character is '^]'.
220 VMware Authentication Daemon Version 1.10: SSL Required, ServerDaemonProtocol:SOAP, MKSDisplayProtocol:VNC

Connecting to port 25 on a mail server:

[root@server]$ telnet server 25
Trying server...
Connected to server.
Escape character is '^]'.
220 server ESMTP Sendmail 8.13.3/8.13.3;

If Telnet is unable to connect to the port, the output is similar to:

[root@server]$ telnet server 902
Trying server...
telnet: connect to address server: Connection refused

If the connection is refused, a firewall may be blocking that port from your source to the destination server. For more information, see Required ports for configuring an external firewall to allow ESX and vCenter Server traffic (1005189).

Related Information

For more information on required ports for VMware products, see TCP and UDP Ports required to access vCenter Server, ESX hosts, and other network components (1012382).

For translated versions of this article, see:

Español: Prueba de conectividad de puertos con Telnet (2016367)

Português: Testando a conectividade de porta com Telnet (2015980)

Mandarin Chinese: 使用Telnet验证端口的连通性 (2020963)

TCP and UDP Ports required to access VMware vCenter Server, VMware ESXi and ESX hosts, and other network components
Testando a conectividade de porta com Telnet
Prueba de conectividad de puertos con Telnet
使用Telnet验证端口的连通性
Telnet を使用してポート接続をテストする

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglish

Attachments

Additional Resources

No results for undefined

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Workstation

VMware vSphere ESXi

VMware VirtualCenter

VMware vCenter Server

VMware vCenter Lab Manager

VMware Server

VMware Player

VMware GSX Server

VMware Fusion

VMware ESX Server

VMware ACE

view all

Related Versions:

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant