Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows Server 系統教學 >> Server 2008

修改 Windows Server 2008 遠端桌面預設埠口 (以 25608 為例)

編輯:Server 2008

修改登錄

  1. Win+R → regedit 開啟登錄編輯器。
  2. 定位並修改下列兩個鍵值的 PortNumber (選擇十進位) 為新埠號 25608:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

防火牆開放新埠

Windows 防火牆 → 進階設定 → 輸入規則 → 新增規則 → 連接埠 → TCP → 特定本機連接埠 25608 → 允許連線 → 全設定檔 → 命名「RDP Custom Port」。

驗證

  1. 重啟伺服器 (或重啟 Remote Desktop Services 服務)。
  2. 原埠 (3389) 應無法連線;遠端桌面連線時輸入 IP:25608 或 hostname:25608 即可正常登入。

注意:修改埠號僅為安全遮蔽,無法替代強密碼、NLA、IP 限制等核心防護措施。

Copyright © Windows教程網 All Rights Reserved