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 3 years have passed since last update.

WindowsServer2012 R2 TCP/UDP Dynamic Portの設定変更

Last updated at Posted at 2021-03-10

WindowsServerのTCPポートのチューニングが必要になったのでコマンドのメモ

現状の設定を確認

TCP

netsh int ipv4 show dynamicport tcp
プロトコル tcp の動的ポートの範囲
---------------------------------
開始ポート      : 49152
ポート数        : 16384

UDP

netsh int ipv4 show dynamicport UDP
プロトコル udp の動的ポートの範囲
---------------------------------
開始ポート      : 49152
ポート数        : 16384

32768に増やしてみる

netsh int ipv4 set dynamicport tcp start=32767 num=32768
netsh int ipv4 set dynamicport udp start=32767 num=32768
プロトコル tcp の動的ポートの範囲
---------------------------------
開始ポート      : 32767
ポート数        : 32768
プロトコル udp の動的ポートの範囲
---------------------------------
開始ポート      : 32767
ポート数        : 32768

デフォルトに戻す場合

netsh int ipv4 set dynamicport tcp start=49152 num=16384
netsh int ipv4 set dynamicport udp start=49152 num=16384

パラメーター説明

start:開始ポート番号
num:開始ポート番号からの使用するポート数

以上、備忘録として

1
0
0

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?