The target server would need to listen on TCP port 23.
You should not be using Telnet for remote management - it's not secure.
Use PowerShell Remoting instead. More at https://learn.microsoft.com/en-us/powershell/scripting/learn/ps101/08-powershell-remoting?view=powershell-7.4
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin