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

RDPのポート番号を変更しても接続できない

Posted at

事象

セキュリティ向上のため、RDPのポート番号を変更したのだが、うまいこといかない。

結論

次のコードを打つとうまくいった。
※(new portnumber)に変更後のポート番号を入れる

netsh advfirewall firewall add rule name=RDP dir=in action=allow profile=Public,Private localport=(new portnumber) protocol=tcp
netsh advfirewall firewall add rule name=RDP dir=in action=allow profile=Public,Private localport=(new portnumber) protocol=udp
0
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
0
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?