Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

Articles are written in English. The Thai translation button opens Google Translate; code and commands stay in their original form.

Windows Commands / IT Support Guides

Test a specific TCP service with Test-NetConnection

Check whether Windows can open a TCP connection to one host and port.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

Environment and inputs: Windows 11 · Command Prompt unless PowerShell is specified

Understand the problem

Use the authorized hostname and port of the affected service. The example uses port 443, which is commonly used for HTTPS.

Run the command

Run the shown command in PowerShell. Replace example.com and the port with the service details you need to test.

Test-NetConnection example.com -Port 443 -InformationLevel Detailed

Read the output

Look for TcpTestSucceeded. True means Windows established a TCP connection. Also check RemoteAddress to confirm which IP was tested. A successful TCP connection leaves TLS and application behavior to check separately.

Choose the next step

If the result is False, confirm the destination and port, then check whether the service is listening and whether the expected network path permits the connection.

Before making changes

Record the source computer, tested address, port and result. If TCP succeeds but the application still fails, test it with the normal application client.

Source & further reading

Microsoft Learn — test-netconnection

Independently written summary reviewed on 2026-11-01. The example illustrates a possible application; it is not a client case study.

Share this article

Back to all articles