Loading

How to Test Network Connectivity Using PowerShell on Windows

Date de publication: Aug 1, 2025
Tâche

GOAL

To test if a local machine can access a remote host on a certain TCP port in an OS Windows environment.

Étapes
Open PowerShell command prompt and run the following command: 
Test-NetConnection <REMOTE_HOST> -Port <REMOTE_PORT>
A successful connection output will look like this:
PS C:\Users\Administrator> Test-NetConnection data-authenticator.anypoint.mulesoft.com -Port 443


ComputerName     : data-authenticator.anypoint.mulesoft.com
RemoteAddress    : 52.45.117.199
RemotePort       : 443
InterfaceAlias   : Ethernet 3
SourceAddress    : 172.31.4.38
TcpTestSucceeded : True

USEFUL LINKS:

Network connectivity testing

Disclaimer: This article involves products and technologies which do not form part of the MuleSoft product set. Technical assistance for such products is limited to this article.

 

Numéro d’article de la base de connaissances

001116742

 
Chargement
Salesforce Help | Article