{"id":166,"date":"2023-12-06T12:47:52","date_gmt":"2023-12-06T12:47:52","guid":{"rendered":"https:\/\/howtogeek.blog\/zh\/?p=166"},"modified":"2023-12-06T12:47:52","modified_gmt":"2023-12-06T12:47:52","slug":"how-to-change-rdp-port-in-windows-server-zh-tw","status":"publish","type":"post","link":"https:\/\/howtogeek.blog\/zh\/how-to-change-rdp-port-in-windows-server-zh-tw\/","title":{"rendered":"\u5982\u4f55\u66f4\u6539 Windows Server \u4e2d\u7684 RDP \u9023\u63a5\u57e0\uff1f"},"content":{"rendered":"<p><span data-preserver-spaces=\"true\">\u96a8\u8457\u8d8a\u4f86\u8d8a\u591a\u7684\u4eba\u4f7f\u7528\u9060\u7aef\u4f3a\u670d\u5668\uff0c\u99ed\u5ba2\u73fe\u5728\u66f4\u5bb9\u6613\u900f\u904e RDP \u9023\u63a5\u57e0\u4fb5\u5165\u7cfb\u7d71\u3002\u9810\u8a2d\u9023\u63a5\u57e0\u865f\u78bc\u662f3389\uff0c\u5927\u591a\u6578\u4eba\u90fd\u4fdd\u6301\u4e0d\u8b8a\uff0c\u6c92\u6709\u767c\u73fe\u9700\u8981\u66f4\u6539\u5b83\u3002\u73fe\u5728\uff0c\u9019\u500b\u9810\u8a2d\u7684 RDP \u9023\u63a5\u57e0\u5df2\u7d93\u5f15\u8d77\u4e86\u99ed\u5ba2\u7684\u6ce8\u610f\uff0c\u4ed6\u5011\u7e3d\u662f\u8a66\u5716\u900f\u904e\u5b83\u5b58\u53d6\u9060\u7aef\u96fb\u8166\u3002<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">\u4e00\u65e6\u99ed\u5ba2\u5165\u4fb5\uff0c\u60a8\u7684\u96fb\u8166\u5c07\u5f88\u5bb9\u6613\u53d7\u5230\u4ed6\u5011\u7684\u653b\u64ca\uff0c\u4ed6\u5011\u53ef\u80fd\u6703\u7aca\u53d6\u60a8\u7684\u8cc7\u6599\u3001\u8ffd\u8e64\u60a8\u7684\u7dda\u4e0a\u6d3b\u52d5\uff0c\u4e26\u505a\u51fa\u4e00\u4e9b\u4eba\u5011\u60f3\u90fd\u4e0d\u6562\u60f3\u7684\u4e8b\u60c5\u3002\u60a8\u53ef\u4ee5\u5c07 <u data-wpel-link=\"internal\">Windows Server<\/u> \u7684\u9810\u8a2d RDP \u9023\u63a5\u57e0\u865f\u78bc\u8b8a\u66f4\u70ba\u5176\u4ed6\u9023\u63a5\u57e0\u865f\u78bc\u4ee5\u907f\u514d\u767c\u751f\u9019\u7a2e\u60c5\u6cc1\u3002 <\/span><\/p>\n<p><span data-preserver-spaces=\"true\">\u4f46\u662f\u66f4\u6539 RDP \u9023\u63a5\u57e0\u6703\u6709\u4ec0\u9ebc\u4f5c\u7528\u5462\uff1f\u99ed\u5ba2\u7e3d\u662f\u6703\u8003\u616e RDP \u9023\u63a5\u57e0 3389\uff0c\u56e0\u70ba\u5b83\u662f\u9810\u8a2d\u9023\u63a5\u57e0\u3002\u4f46\u662f\uff0c\u5982\u679c\u60a8\u7684 RDP \u7aef\u53e3\u5df2\u66f4\u6539\u4e26\u8a2d\u7f6e\u70ba\u5176\u4ed6\u7a7a\u9592\u7aef\u53e3\uff0c\u90a3\u9ebc\u4ed6\u5011\u5c07\u5f88\u96e3\u77e5\u9053\u60a8\u7684 RDP \u7aef\u53e3\u4e26\u7372\u5f97\u5c0d PC \u7684\u8a2a\u554f\u6b0a\u9650\u3002\u672c\u6587\u5c07\u6307\u5c0e\u60a8\u5982\u4f55\u8b8a\u66f4 Windows \u4f3a\u670d\u5668\u7684 RDP \u9023\u63a5\u57e0\u3002<\/span><\/p>\n<h2><span id=\"Ways_to_Change_RDP_Port_for_a_Windows_Server\"><strong><span data-preserver-spaces=\"true\">\u66f4\u6539 Windows \u4f3a\u670d\u5668\u7684 RDP \u9023\u63a5\u57e0\u7684\u65b9\u6cd5<\/span><\/strong><\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">\u6709\u591a\u7a2e\u65b9\u6cd5\u53ef\u4ee5\u8b8a\u66f4 Windows Server \u7684 RDP \u9023\u63a5\u57e0\u3002\u96d6\u7136\u9019\u500b\u904e\u7a0b\u5f88\u7c21\u55ae\uff0c\u4f46\u9019\u6a23\u505a\u6642\u4f60\u5fc5\u9808\u5c0f\u5fc3\u3002\u8acb\u6309\u7167\u4ee5\u4e0b\u6b65\u9a5f\u66f4\u6539 RDP \u9023\u63a5\u57e0 &#8211;<\/span><\/p>\n<h3><span id=\"1_Through_Registry_Editor\"><strong><span data-preserver-spaces=\"true\">1.\u900f\u904e\u767b\u9304\u7de8\u8f2f\u5668<\/span><\/strong><\/span><\/h3>\n<p><span data-preserver-spaces=\"true\">\u66f4\u6539 RDP \u9023\u63a5\u57e0\u7684\u7b2c\u4e00\u7a2e\u65b9\u6cd5\u662f\u900f\u904e\u767b\u9304\u7de8\u8f2f\u5668\u3002\u60a8\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9a5f\u9032\u884c\u64cd\u4f5c &#8211;<\/span><\/p>\n<ol>\n<li><span data-preserver-spaces=\"true\">\u958b\u555f<\/span><strong><span data-preserver-spaces=\"true\">\u958b\u59cb\u529f\u80fd\u8868<\/span><\/strong><span data-preserver-spaces=\"true\">\uff0c\u641c\u5c0b<\/span><strong><span data-preserver-spaces=\"true\">\u767b\u9304\u7de8\u8f2f\u5668<\/span><\/strong><span data-preserver-spaces=\"true\"> \uff0c\u7136\u5f8c\u6253\u958b\u5b83\u3002 <\/span><img alt=\"\u641c\u5c0b\u6b04\u7684\u767b\u9304\u7de8\u8f2f\u5668\" class=\"wp-image\" decoding=\"async\" height=\"286\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/Registry-Editor-from-search-bar.webp\" title=\"\u641c\u5c0b\u6b04\u7684\u767b\u9304\u7de8\u8f2f\u5668\" width=\"600\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">\u73fe\u5728\uff0c\u5c0e\u822a\u5230\u4ee5\u4e0b\u5730\u5740 &#8211;<\/span>\n<ul>\n<li>\n<code><strong><span data-preserver-spaces=\"true\">HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Terminal Server\\WinStations\\RDP-Tcp<\/span><\/strong><\/code>\n<\/li>\n<\/ul>\n<\/li>\n<li><span data-preserver-spaces=\"true\">\u5728\u53f3\u5074\u96d9\u64ca<\/span><strong><span data-preserver-spaces=\"true\">\u9023\u63a5\u57e0\u865f\u78bc<\/span><\/strong><span data-preserver-spaces=\"true\">\u9032\u884c\u7de8\u8f2f\u3002 <\/span><\/li>\n<li><span data-preserver-spaces=\"true\">\u6b64\u8655\uff0c\u9078\u64c7<\/span><strong><span data-preserver-spaces=\"true\">\u57fa\u6578<\/span><\/strong><span data-preserver-spaces=\"true\">\u4e0b\u7684<\/span><strong><span data-preserver-spaces=\"true\">\u5341\u9032\u4f4d<\/span><\/strong><span data-preserver-spaces=\"true\">\u3002 <\/span><strong><span data-preserver-spaces=\"true\"><\/span><\/strong><span data-preserver-spaces=\"true\"><\/span><\/li>\n<li><span data-preserver-spaces=\"true\">\u73fe\u5728\uff0c\u60a8\u5fc5\u9808\u7de8\u8f2f<\/span><strong><span data-preserver-spaces=\"true\">\u503c\u8cc7\u6599<\/span><\/strong><span data-preserver-spaces=\"true\">\u3002\u5c07<\/span><strong><span data-preserver-spaces=\"true\">\u503c\u8cc7\u6599<\/span><\/strong><span data-preserver-spaces=\"true\">\u8a2d\u5b9a\u70ba\u60a8\u8981\u8b8a\u66f4\u70ba\u7684 RDP \u9023\u63a5\u57e0\u3002 <\/span><img alt=\"\u900f\u904e\u767b\u9304\u7de8\u8f2f\u5668\" class=\"wp-image\" decoding=\"async\" height=\"405\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/Through-Registry-Editor.webp\" title=\"\u900f\u904e\u767b\u9304\u7de8\u8f2f\u5668\" width=\"623\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">\u5b8c\u6210\u5f8c\uff0c\u9ede\u9078<\/span><strong><span data-preserver-spaces=\"true\">\u78ba\u5b9a<\/span><\/strong><span data-preserver-spaces=\"true\">\u5132\u5b58\u8b8a\u66f4\u3002 <\/span><\/li>\n<\/ol>\n<h3><span id=\"2_Through_PowerShell\"><strong><span data-preserver-spaces=\"true\">2.\u900f\u904ePowerShell<\/span><\/strong><\/span><\/h3>\n<p><span data-preserver-spaces=\"true\">\u60a8\u4e5f\u53ef\u4ee5\u57f7\u884c PowerShell \u547d\u4ee4\u4f86\u8b8a\u66f4 Windows \u4f3a\u670d\u5668\u7684 RDP \u9023\u63a5\u57e0\u3002\u70ba\u6b64\uff0c\u8acb\u6309\u7167\u4ee5\u4e0b\u6b65\u9a5f\u64cd\u4f5c &#8211;<\/span><\/p>\n<ol>\n<li><span data-preserver-spaces=\"true\">\u6309 <\/span><strong><span data-preserver-spaces=\"true\">Windows <\/span><\/strong><span data-preserver-spaces=\"true\">\u9375\u4e26\u9375\u5165 <\/span><strong><span data-preserver-spaces=\"true\">Windows PowerShell<\/span><\/strong><span data-preserver-spaces=\"true\">\u3002\u53f3\u9375\u9ede\u9078 <\/span><strong><span data-preserver-spaces=\"true\">Windows PowerShell<\/span><\/strong><span data-preserver-spaces=\"true\">\uff0c\u7136\u5f8c\u6309\u4e00\u4e0b<\/span><strong><span data-preserver-spaces=\"true\">\u4ee5\u7ba1\u7406\u54e1\u8eab\u5206\u57f7\u884c<\/span><\/strong><span data-preserver-spaces=\"true\"> \u3002 <\/span><img alt=\"\u9375\u5165 Windows PowerShell\" class=\"wp-image\" decoding=\"async\" height=\"410\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/type-Windows-PowerShell.webp\" title=\"\u9375\u5165 Windows PowerShell\" width=\"640\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">\u51fa\u73fe UAC \u63d0\u793a\u6642\uff0c\u6309\u4e00\u4e0b<\/span><strong><span data-preserver-spaces=\"true\">\u662f<\/span><\/strong><span data-preserver-spaces=\"true\">\u6309\u9215\u3002 <\/span><\/li>\n<li><span data-preserver-spaces=\"true\">\u5728 Windows PowerShell \u4e2d\uff0c\u57f7\u884c\u4e0b\u5217\u547d\u4ee4 &#8211;<\/span>\n<ul>\n<li>\n<code><strong><span data-preserver-spaces=\"true\">Set-ItemProperty -Path \u2018HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server\\WinStations\\RDP-Tcp' -Name \u2018portnumber' -Value [Port Number]<\/span><\/strong><\/code>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h2><span id=\"Implement_the_Changes_in_the_RDP_Port\"><strong><span data-preserver-spaces=\"true\">\u5be6\u65bd RDP \u9023\u63a5\u57e0\u7684\u66f4\u6539<\/span><\/strong><\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">\u900f\u904e\u4e0a\u8ff0\u6b65\u9a5f\u8b8a\u66f4 RDP \u9023\u63a5\u57e0\u5f8c\uff0c\u60a8\u5fc5\u9808\u5be6\u65bd\u8b8a\u66f4\u3002\u914d\u7f6eWindows\u9632\u706b\u7246\u7684\u6700\u65b0\u9023\u63a5\u57e0\u4e26\u91cd\u65b0\u555f\u52d5\u9060\u7aef\u684c\u9762\u670d\u52d9\u3002\u5c31\u662f\u9019\u6a23-<\/span><\/p>\n<ol>\n<li><span data-preserver-spaces=\"true\">\u6309<\/span><strong><span data-preserver-spaces=\"true\"> Windows<\/span><\/strong><span data-preserver-spaces=\"true\"> \u9375\uff0c\u8f38\u5165<strong>\u5177\u6709\u9032\u968e\u5b89\u5168\u6027\u7684Windows Defender \u9632\u706b\u7246&lt; a i =4&gt;\uff0c\u7136\u5f8c\u6309 <\/strong><\/span><strong><span data-preserver-spaces=\"true\">Enter<\/span><\/strong><span data-preserver-spaces=\"true\">\u3002 <\/span><span data-preserver-spaces=\"true\"><\/span><strong><span data-preserver-spaces=\"true\"><\/span><\/strong><span data-preserver-spaces=\"true\"><\/span><img alt=\"\u5177\u6709\u9032\u968e\u5b89\u5168\u6027\u7684 Windows Defender \u9632\u706b\u7246\" class=\"wp-image\" decoding=\"async\" height=\"535\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/Windows-Defender-Firewall-with-Advanced-Security.webp\" title=\"\u5177\u6709\u9032\u968e\u5b89\u5168\u6027\u7684 Windows Defender \u9632\u706b\u7246\" width=\"758\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">\u9ede\u9078<\/span><strong><span data-preserver-spaces=\"true\">\u5165\u7ad9\u898f\u5247<\/span><\/strong><span data-preserver-spaces=\"true\">\uff0c\u7136\u5f8c\u9ede\u9078<\/span><strong><span data-preserver-spaces=\"true\">\u65b0\u5efa<\/span><\/strong><strong><span data-preserver-spaces=\"true\">\u898f\u5247<\/span><\/strong><span data-preserver-spaces=\"true\">\u3002 <\/span><img alt=\"\u5165\u7ad9\u898f\u5247\uff0c\u7136\u5f8c\u6309\u4e00\u4e0b\u201c\u65b0\u5efa\u898f\u5247\u201d\" class=\"wp-image\" decoding=\"async\" height=\"415\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/Inbound-Rules-and-then-click-on-New-Rule.webp\" title=\"\u5165\u7ad9\u898f\u5247\uff0c\u7136\u5f8c\u6309\u4e00\u4e0b\u201c\u65b0\u5efa\u898f\u5247\u201d\" width=\"830\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">\u5c0d\u65bc<\/span><strong><span data-preserver-spaces=\"true\">\u898f\u5247\u985e\u578b<\/span><\/strong><span data-preserver-spaces=\"true\">\uff0c\u9078\u64c7<\/span><strong><span data-preserver-spaces=\"true\">\u9023\u63a5\u57e0<\/span><\/strong><span data-preserver-spaces=\"true\">\uff0c\u7136\u5f8c\u55ae\u64ca<\/span><strong><span data-preserver-spaces=\"true\">\u4e0b\u4e00\u6b65<\/span><\/strong><span data-preserver-spaces=\"true\">\u3002 <\/span><img alt=\"\u898f\u5247\u985e\u578b\uff0c\u9078\u64c7\u7aef\u53e3\uff0c\u7136\u5f8c\u6309\u4e00\u4e0b\u4e0b\u4e00\u6b65\" class=\"wp-image\" decoding=\"async\" height=\"567\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/Rule-Type-select-Port-and-then-click-on-Next.webp\" title=\"\u898f\u5247\u985e\u578b\uff0c\u9078\u64c7\u7aef\u53e3\uff0c\u7136\u5f8c\u6309\u4e00\u4e0b\u4e0b\u4e00\u6b65\" width=\"702\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">\u7576\u8a62\u554f\u300c\u6b64\u898f\u5247\u9069\u7528\u65bc TCP \u9084\u662f UDP\uff1f\u300d\u6642\uff0c\u9078\u64c7<\/span><strong><span data-preserver-spaces=\"true\">TCP<\/span><\/strong><span data-preserver-spaces=\"true\">\u3002<\/span><\/li>\n<li><span data-preserver-spaces=\"true\">\u9078\u64c7<\/span><strong><span data-preserver-spaces=\"true\">\u7279\u5b9a\u672c\u6a5f\u9023\u63a5\u57e0<\/span><\/strong><span data-preserver-spaces=\"true\">\uff0c\u9375\u5165\u60a8\u8a2d\u5b9a\u7684\u65b0 RDP \u7aef\u53e3\uff0c\u7136\u5f8c\u6309\u4e00\u4e0b<\/span><strong><span data-preserver-spaces=\"true\">\u63a5\u4e0b\u4f86<\/span><\/strong><span data-preserver-spaces=\"true\">\u3002 <\/span><img alt=\"\u7279\u5b9a\u672c\u5730\u7aef\u53e3\" class=\"wp-image\" decoding=\"async\" height=\"565\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/Specific-local-ports.webp\" title=\"\u7279\u5b9a\u672c\u5730\u7aef\u53e3\" width=\"701\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">\u5728\u4e0b\u4e00\u500b\u756b\u9762\u4e0a\uff0c\u9078\u64c7<\/span><strong><span data-preserver-spaces=\"true\">\u5141\u8a31\u9023\u7dda<\/span><\/strong><span data-preserver-spaces=\"true\">\uff0c\u7136\u5f8c\u6309\u4e00\u4e0b<\/span><strong><span data-preserver-spaces=\"true\">\u4e0b\u4e00\u6b65<\/span><\/strong><span data-preserver-spaces=\"true\">\u7e7c\u7e8c\u3002 <\/span><img alt=\"\u5141\u8a31\u9023\u63a5\" class=\"wp-image\" decoding=\"async\" height=\"566\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/Allow-the-connection.webp\" title=\"\u5141\u8a31\u9023\u63a5\" width=\"700\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">\u8acb\u9078\u64c7\u898f\u5247\u662f\u5426\u9069\u7528\u65bc<\/span><strong><span data-preserver-spaces=\"true\">\u7db2\u57df<\/span><\/strong><span data-preserver-spaces=\"true\">\u3001<\/span><strong><span data-preserver-spaces=\"true\">\u79c1\u4eba<\/span><\/strong><span data-preserver-spaces=\"true\"> \u3001<\/span><strong><span data-preserver-spaces=\"true\">\u516c\u958b<\/span><\/strong><span data-preserver-spaces=\"true\">\uff0c\u6216\u5168\u90e8\u3002 <\/span><img alt=\"\u57df\u3001\u79c1\u6709\u3001\u516c\u6709\" class=\"wp-image\" decoding=\"async\" height=\"568\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/Domain-Private-Public.webp\" title=\"\u57df\u3001\u79c1\u6709\u3001\u516c\u6709\" width=\"705\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">\u60a8\u73fe\u5728\u5fc5\u9808\u8f38\u5165 RDP \u9023\u63a5\u57e0\u7684<\/span><strong><span data-preserver-spaces=\"true\">\u540d\u7a31<\/span><\/strong><span data-preserver-spaces=\"true\">\u548c\u8aaa\u660e\uff08\u53ef\u9078\uff09\u3002\u5b8c\u6210\u5f8c\u9ede\u9078<\/span><strong><span data-preserver-spaces=\"true\">\u5b8c\u6210<\/span><\/strong><span data-preserver-spaces=\"true\">\u3002 <\/span><\/li>\n<li><span data-preserver-spaces=\"true\">\u6211\u5011\u5728\u4e0a\u9762\u7b2c\u56db\u6b65\u9a5f\u4e2d\u9078\u64c7\u4e86<\/span><strong><span data-preserver-spaces=\"true\">TCP<\/span><\/strong><span data-preserver-spaces=\"true\">\uff1b\u8a2d\u5b9a TCP \u898f\u5247\u5f8c\uff0c\u8acb\u518d\u6b21\u57f7\u884c\u4e0a\u8ff0\u6b65\u9a5f\uff0c\u4f46\u9078\u64c7 <\/span><strong><span data-preserver-spaces=\"true\">UDP<\/span><\/strong><span data-preserver-spaces=\"true\"> \u800c\u975e TCP\u3002<\/span><\/li>\n<li><span data-preserver-spaces=\"true\">\u6309 <\/span><strong><span data-preserver-spaces=\"true\">Windows + R <\/span><\/strong><span data-preserver-spaces=\"true\">\u7d44\u5408\u9375\uff0c\u9375\u5165 <\/span><strong><span data-preserver-spaces=\"true\">services.msc<\/span><\/strong><span data-preserver-spaces=\"true\">\uff0c\u7136\u5f8c\u9ede\u9078<\/span><strong><span data-preserver-spaces=\"true\">\u78ba\u5b9a<\/span><\/strong><span data-preserver-spaces=\"true\">\u3002 <\/span><img alt=\"\u641c\u5c0b\u670d\u52d9\" class=\"wp-image\" decoding=\"async\" height=\"474\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/search-for-services.webp\" title=\"\u641c\u5c0b\u670d\u52d9\" width=\"640\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">\u5728\u6b64\u641c\u5c0b<\/span><strong><span data-preserver-spaces=\"true\">\u9060\u7aef\u684c\u9762\u670d\u52d9<\/span><\/strong><span data-preserver-spaces=\"true\">\u3002\u53f3\u9375\u9ede\u9078\u8a72\u670d\u52d9\uff0c\u7136\u5f8c\u6309\u4e00\u4e0b<\/span><strong><span data-preserver-spaces=\"true\">\u91cd\u65b0\u555f\u52d5<\/span><\/strong><span data-preserver-spaces=\"true\">\u3002 <\/span><\/li>\n<\/ol>\n<h2><span id=\"How_to_Check_the_RDP_Port_on_Windows_Server\"><strong><span data-preserver-spaces=\"true\">\u5982\u4f55\u6aa2\u67e5Windows Server\u4e0a\u7684RDP\u9023\u63a5\u57e0\uff1f<\/span><\/strong><\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">\u66f4\u6539 RDP \u9023\u63a5\u57e0\u5f8c\uff0c\u6aa2\u67e5\u662f\u5426\u5df2\u9032\u884c\u66f4\u6539\u975e\u5e38\u91cd\u8981\u3002\u60a8\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9a5f\u57f7\u884c\u6b64\u64cd\u4f5c &#8211;<\/span><\/p>\n<ol>\n<li><span data-preserver-spaces=\"true\">\u5728\u60a8\u7684\u96fb\u8166\u4e0a\u4ee5\u7ba1\u7406\u54e1\u8eab\u5206\u555f\u52d5<\/span><strong><span data-preserver-spaces=\"true\">Windows PowerShell<\/span><\/strong><span data-preserver-spaces=\"true\">\u3002 <\/span><img alt=\"\u9375\u5165 Windows PowerShell\" class=\"wp-image\" decoding=\"async\" height=\"410\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/type-Windows-PowerShell-1.webp\" title=\"\u9375\u5165 Windows PowerShell\" width=\"640\"\/><\/li>\n<li><span data-preserver-spaces=\"true\">\u5728 PowerShell \u4e2d\uff0c\u60a8\u5fc5\u9808\u57f7\u884c\u4e0b\u9762\u7d66\u51fa\u7684\u547d\u4ee4 &#8211;<\/span><\/li>\n<\/ol>\n<ul>\n<li>\n<ul>\n<li>\n<code><strong><span data-preserver-spaces=\"true\">Get-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server\\WinStations\\RDP-Tcp' -name \"PortNumber\"<\/span><\/strong><\/code>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4><span id=\"Final_Words\"><strong><span data-preserver-spaces=\"true\">\u6700\u5f8c\u7684\u8a71<\/span><\/strong><\/span><\/h4>\n<p><span data-preserver-spaces=\"true\">\u57f7\u884c\u4e0a\u8ff0\u6b65\u9a5f\u5f8c\uff0cWindows \u4f3a\u670d\u5668\u4e0a\u7684 RDP \u9023\u63a5\u57e0\u5c07\u8b8a\u66f4\u70ba\u81ea\u8a02\u9023\u63a5\u57e0\u800c\u4e0d\u662f\u9810\u8a2d\u9023\u63a5\u57e0\u3002\u78ba\u4fdd\u60a8\u4ed4\u7d30\u9075\u5faa\u6240\u6709\u6b65\u9a5f\uff0c\u4e0d\u8981\u8df3\u904e\u5b83\u5011\u3002\u73fe\u5728\u60a8\u53ef\u4ee5\u4f7f\u7528\u65b0\u9023\u63a5\u57e0\u4f86\u4f7f\u7528\u9060\u7aef\u684c\u9762\u9023\u7dda\u3002<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u96a8\u8457\u8d8a\u4f86\u8d8a\u591a\u7684\u4eba\u4f7f\u7528\u9060\u7aef\u4f3a\u670d\u5668\uff0c\u99ed\u5ba2\u73fe\u5728\u66f4\u5bb9\u6613\u900f\u904e RDP \u9023\u63a5\u57e0\u4fb5\u5165\u7cfb\u7d71\u3002\u9810\u8a2d\u9023\u63a5\u57e0\u865f\u78bc\u662f3389\uff0c\u5927\u591a\u6578\u4eba\u90fd\u4fdd\u6301\u4e0d\u8b8a\uff0c\u6c92\u6709\u767c\u73fe\u9700\u8981\u66f4\u6539\u5b83\u3002\u73fe\u5728\uff0c\u9019\u500b\u9810\u8a2d\u7684 RDP \u9023\u63a5\u57e0\u5df2\u7d93\u5f15\u8d77\u4e86\u99ed\u5ba2\u7684\u6ce8\u610f\uff0c\u4ed6\u5011\u7e3d\u662f\u8a66\u5716\u900f\u904e\u5b83\u5b58\u53d6\u9060\u7aef\u96fb\u8166\u3002 \u4e00\u65e6\u99ed\u5ba2\u5165\u4fb5\uff0c\u60a8\u7684\u96fb\u8166\u5c07\u5f88\u5bb9\u6613\u53d7\u5230\u4ed6\u5011\u7684\u653b\u64ca\uff0c\u4ed6\u5011\u53ef\u80fd\u6703\u7aca\u53d6\u60a8\u7684\u8cc7\u6599\u3001\u8ffd\u8e64\u60a8\u7684\u7dda\u4e0a\u6d3b\u52d5\uff0c\u4e26\u505a\u51fa\u4e00\u4e9b\u4eba\u5011\u60f3\u90fd\u4e0d\u6562\u60f3\u7684\u4e8b\u60c5\u3002\u60a8\u53ef\u4ee5\u5c07 Windows Server \u7684\u9810\u8a2d RDP \u9023\u63a5\u57e0\u865f\u78bc\u8b8a\u66f4\u70ba\u5176\u4ed6\u9023\u63a5\u57e0\u865f\u78bc\u4ee5\u907f\u514d\u767c\u751f\u9019\u7a2e\u60c5\u6cc1\u3002 \u4f46\u662f\u66f4\u6539 RDP \u9023\u63a5\u57e0\u6703\u6709\u4ec0\u9ebc\u4f5c\u7528\u5462\uff1f\u99ed\u5ba2\u7e3d\u662f\u6703\u8003\u616e RDP \u9023\u63a5\u57e0 3389\uff0c\u56e0\u70ba\u5b83\u662f\u9810\u8a2d\u9023\u63a5\u57e0\u3002\u4f46\u662f\uff0c\u5982\u679c\u60a8\u7684 RDP \u7aef\u53e3\u5df2\u66f4\u6539\u4e26\u8a2d\u7f6e\u70ba\u5176\u4ed6\u7a7a\u9592\u7aef\u53e3\uff0c\u90a3\u9ebc\u4ed6\u5011\u5c07\u5f88\u96e3\u77e5\u9053\u60a8\u7684 RDP \u7aef\u53e3\u4e26\u7372\u5f97\u5c0d PC \u7684\u8a2a\u554f\u6b0a\u9650\u3002\u672c\u6587\u5c07\u6307\u5c0e\u60a8\u5982\u4f55\u8b8a\u66f4 Windows \u4f3a\u670d\u5668\u7684 RDP \u9023\u63a5\u57e0\u3002 \u66f4\u6539 Windows \u4f3a\u670d\u5668\u7684 RDP \u9023\u63a5\u57e0\u7684\u65b9\u6cd5 \u6709\u591a\u7a2e\u65b9\u6cd5\u53ef\u4ee5\u8b8a\u66f4 Windows Server \u7684 RDP \u9023\u63a5\u57e0\u3002\u96d6\u7136\u9019\u500b\u904e\u7a0b\u5f88\u7c21\u55ae\uff0c\u4f46\u9019\u6a23\u505a\u6642\u4f60\u5fc5\u9808\u5c0f\u5fc3\u3002\u8acb\u6309\u7167\u4ee5\u4e0b\u6b65\u9a5f\u66f4\u6539 RDP \u9023\u63a5\u57e0 &#8211; 1.\u900f\u904e\u767b\u9304\u7de8\u8f2f\u5668 \u66f4\u6539 RDP \u9023\u63a5\u57e0\u7684\u7b2c\u4e00\u7a2e\u65b9\u6cd5\u662f\u900f\u904e\u767b\u9304\u7de8\u8f2f\u5668\u3002\u60a8\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9a5f\u9032\u884c\u64cd\u4f5c &#8211; \u958b\u555f\u958b\u59cb\u529f\u80fd\u8868\uff0c\u641c\u5c0b\u767b\u9304\u7de8\u8f2f\u5668 \uff0c\u7136\u5f8c\u6253\u958b\u5b83\u3002 \u73fe\u5728\uff0c\u5c0e\u822a\u5230\u4ee5\u4e0b\u5730\u5740 &#8211; HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Terminal Server\\WinStations\\RDP-Tcp \u5728\u53f3\u5074\u96d9\u64ca\u9023\u63a5\u57e0\u865f\u78bc\u9032\u884c\u7de8\u8f2f\u3002 \u6b64\u8655\uff0c\u9078\u64c7\u57fa\u6578\u4e0b\u7684\u5341\u9032\u4f4d\u3002 \u73fe\u5728\uff0c\u60a8\u5fc5\u9808\u7de8\u8f2f\u503c\u8cc7\u6599\u3002\u5c07\u503c\u8cc7\u6599\u8a2d\u5b9a\u70ba\u60a8\u8981\u8b8a\u66f4\u70ba\u7684 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[6],"class_list":["post-166","post","type-post","status-publish","format-standard","hentry","category-how-to","tag-windows"],"acf":[],"_links":{"self":[{"href":"https:\/\/howtogeek.blog\/zh\/wp-json\/wp\/v2\/posts\/166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/howtogeek.blog\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/howtogeek.blog\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/howtogeek.blog\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/howtogeek.blog\/zh\/wp-json\/wp\/v2\/comments?post=166"}],"version-history":[{"count":1,"href":"https:\/\/howtogeek.blog\/zh\/wp-json\/wp\/v2\/posts\/166\/revisions"}],"predecessor-version":[{"id":167,"href":"https:\/\/howtogeek.blog\/zh\/wp-json\/wp\/v2\/posts\/166\/revisions\/167"}],"wp:attachment":[{"href":"https:\/\/howtogeek.blog\/zh\/wp-json\/wp\/v2\/media?parent=166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howtogeek.blog\/zh\/wp-json\/wp\/v2\/categories?post=166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howtogeek.blog\/zh\/wp-json\/wp\/v2\/tags?post=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}