An alternative to TELNET for testing connectivity

Rezolvare problema (Fix IT)

Situatie

If our situation requires the use of TELNET for connection testing, one solution is to employ Powershell.

Solutie

1. Open Powershell as administrator or command prompt, write powershell and press Enter.

2. We use the following command

Test-NetConnection <IP/device name> -p <port number>

If the communications with the desired target can be carried out, we will have the following result: TcpTestSucceeded: True.
For example, for Test-NetConnection 8.8.8.8 -p 23 I got the False result and the test itself requires less than 30 seconds to finish.

Tip solutie

Permanent

Voteaza

(4 din 6 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?