Loading

How to Test Network Connectivity Using PowerShell on Windows

게시 일자: Aug 1, 2025
과업

GOAL

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

단계
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.

 

Knowledge 기사 번호

001116742

 
로드 중
Salesforce Help | Article