1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Windowsでポート疎通確認

Posted at

はじめに

Windowsサーバ上でポートの疎通確認を行う必要があり、UDPも確認可能な PortQry というツールがあったのでメモ。
(PowerShell の Test-NetConnection コマンドでは UDPは確認できません)

PortQryを入手

PortQryのサイト からダウンロードする

PortQryを展開

PortQryV2.exe を実行し展開する
デフォルトの展開先は c:\PortQryV2

実行してみる

c:\PortQryV2>PortQry.exe -n 192.168.128.1 -e 53 -p UDP

Querying target system called:

 192.168.128.1

Attempting to resolve IP address to a name...

Failed to resolve IP address to name

querying...

UDP port 53 (domain service): LISTENING

コマンドラインオプション(よく使いそうなもの)

オプション 意味
-n [address] IPアドレス又はホスト名を指定
-e [port] ポート番号を指定
-r [start:end] ポート番号の範囲を指定 (例 -r 21:445)
-o [x,y,z] ポート番号を順番に指定 (例 -o 25,445,8080)
-p [protocol] プロトコルを指定 (TCP, UDP, BOTH)
1
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?