接続先は Windows Server でしょうか、Windows 10 / 11 などのデスクトップ エディションでしょうか?
接続先コンピューターで
Installation and configuration for Windows Remote Management - Win32 apps | Microsoft Learn
に書かれている
winrm enumerate winrm/config/listener
winrm get winrm/config
を実行して、リスナーが動作しているか確認しましょう。