🪄

New WordPress Hosting Plans Available - Free Backup & Free SSL

English

Home

Blog

How To Test Communication between Server...

How To Test Communication between Servers using PowerShell (Telnet Alternative)

How To Test Communication between Servers using PowerShell (Telnet Alternative)

NetShop ISP

NetShop ISP · Blog Author

Mar 20, 2026 · Technical Tutorials

Testing connectivity between servers is a common task for system administrators and network engineers. Whether you are troubleshooting application issues, verifying firewall rules, or validating network paths, confirming that one server can communicate with another on a specific port is often the first step in diagnosing the problem.

Traditionally, administrators relied on Telnet to test TCP connectivity between one Windows server to another. By attempting to open a connection to a specific port, Telnet could quickly indicate whether a service was reachable. However, the Telnet client is no longer installed by default on most modern Windows systems due to security concerns.

Telnet client on Windows Server does not work.

In this guide, we will show how to use PowerShell to test communication between servers, replicating the functionality of Telnet while providing more detailed diagnostic information. This approach works on modern Windows Server and Windows desktop environments where PowerShell is available by default.

Using PowerShell to Test Ports Communication in Windows Servers

PowerShell provides a modern and secure alternative for performing the same type of connectivity tests without installing additional tools. Using the built-in Test-NetConnection utility, administrators can easily verify whether a remote host is reachable and whether a specific TCP port is open.

To run Powershell, find it using the Search field in the toolbar as indicated below.

The syntax for Test-NetConnection is:

Test-NetConnection -ComputerName <hostname or IP address> -Port <Port number>.

Example:
You want to test if the destination server with IP address 185.169.2.20 allows communication over port 3389 from your own server (source).

Test-NetConnection -ComputerName 185.169.2.20 -Port 3389

If the destination server does not respond you will get a response similar to this:

PS C:\Users\Administrator> Test-NetConnection -ComputerName 185.169.2.20 -Port 3389
WARNING: TCP connect to (185.169.2.20 : 3389) failed

ComputerName : 185.169.2.20
RemoteAddress : 185.169.2.20
RemotePort : 3389
InterfaceAlias : Ethernet Instance 0
SourceAddress : 185.169.2.19
PingSucceeded : True
PingReplyDetails (RTT) : 2 ms
TcpTestSucceeded : False

In case of a successful response from the destination server, the output will be as follows:

PS C:\Users\Administrator> Test-NetConnection -ComputerName 185.169.2.20 -Port 3389

ComputerName : 185.169.2.20
RemoteAddress : 185.169.2.20
RemotePort : 3389
InterfaceAlias : Ethernet Instance 0
SourceAddress : 185.169.2.20
TcpTestSucceeded : True
how to
telnet
windows
Press Releases
94
Industries
118

Free VPS Trial

No Credit Card Required.

Start Your VPS Hosting Free Trial

Recent Posts

Vision Forex Forum 2026 Highlights: NetShop ISP CEO Shares Insights on Next-Gen Trading Infrastructure

Vision Forex Forum 2026 Highlights: NetShop ISP CEO Shares Insights on Next-Gen Trading Infrastructure

20 March, 2026

How To Test Communication between Servers using PowerShell (Telnet Alternative)

How To Test Communication between Servers using PowerShell (Telnet Alternative)

20 March, 2026

6 Reasons Why Your WordPress Website Is Slow And How to Fix It

6 Reasons Why Your WordPress Website Is Slow And How to Fix It

13 March, 2026

Top Six Infrastructure Requirements for Online Gaming in 2026

Top Six Infrastructure Requirements for Online Gaming in 2026

02 March, 2026

How To Install Remote Desktop Services (RDS) with CALs Activation on Windows Server 2019/2022

How To Install Remote Desktop Services (RDS) with CALs Activation on Windows Server 2019/2022

18 February, 2026

#letushostyou

Award Winning Hosting Provider established in 2004.

Best iGaming Service Provider

120 Faneromenis Avenue, Imperial Tower, 2nd Floor, Larnaca 6031, Cyprus

Products

Bare Metal Servers

Customized Servers

Virtual / Cloud Servers

Forex VPS

cPanel Web Hosting

Reseller Web Hosting

Colocation

Low-latency Connectivitynew

by XConnect

Addons

Premium DNS

Email Hosting

Cloud Backup

DDoS Protection

Licenses

SSL Certificates

Domain Names

Premium SLAs

About Us

Data Center Locations

Looking Glass

Our Company

Contact Us

Careers in Cyprus

Become a Partner

Awards

Certifications

© 2026 S.S. NetShop Internet Services Ltd. All rights reserved.  Terms & Conditions |  Privacy Policy
CY Reg. Number: HE 217340 | EU VAT Number: CY10217340J

Visa
Mastercard
PayPal
Bitcoin
Tether
Ethereum
Litecoin
Wise
Revolut
Wire Transfer