• 追加された行はこの色です。
  • 削除された行はこの色です。
#author("2022-05-09T10:54:56+09:00","default:ryuichi","ryuichi")
#author("2022-05-09T10:58:05+09:00","default:ryuichi","ryuichi")
* ポートをリッスンしているプロセスを探す [#m2026509]


 PS> Get-NetTCPConnection -LocalPort 3000 | select OwningProcess
 
 OwningProcess
 -------------
         12345


** 疎通確認だけ [#sb6f27db]

 PS> Test-NetConnection localhost -Port 3000
 WARNING: TCP connect to (::1 : 3000) failed
 
 ComputerName     : localhost
 RemoteAddress    : 127.0.0.1
 RemotePort       : 3000
 InterfaceAlias   : Loopback Pseudo-Interface 1
 SourceAddress    : 127.0.0.1
 TcpTestSucceeded : True


- TcpTestSucceeded : ''True'' → LISTENしてる


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS