Which command is commonly used in Windows to test whether a specific TCP port on a remote system is reachable?
Options
-
A.
ping
-
B.
ipconfig
-
C.
Test-NetConnection
-
D.
More than one of the above
-
E.
None of the above
Correct Answer (Detailed Explanation is Below)
C.
Test-NetConnection
Detailed Explanation
Correct Answer: Test-NetConnection
- Test-NetConnection is a Windows PowerShell command used for network diagnostics.
- Its -Port parameter can test connectivity to a specific TCP port.
- Example: Test-NetConnection example.com -Port 443.
- Ping alone does not test TCP or UDP port availability.