Telnet feature/ program is not installed on the server and you cannot add the Telnet feature due to restrictions in the environment or for permission you need to follow ITIL standards.
'telnet' is not recognized as an internal or external command, operable program or batch file.
By default, Windows does not install the telnet.exe program.
Powershell command: Test-NetConnection supports ping test, TCP test, route tracing, and route selection diagnostics.
Example: Test a connection to a remote host on a specific port (replace www.example.com with a verifiable web address)
Test-NetConnection -ComputerName "www.example.com" -port 80
Note: In the Computer Name field you can specify: Hostname /IP address.
Test-NetConnection -ComputerName "www.example.com" -port 80 -InformationLevel "Detailed"