{"id":1015,"date":"2026-08-28T23:29:45","date_gmt":"2026-08-29T04:29:45","guid":{"rendered":"https:\/\/wp.jkhayer.us\/?p=1015"},"modified":"2026-08-28T23:29:45","modified_gmt":"2026-08-29T04:29:45","slug":"windows-remote-desktop-port-change","status":"publish","type":"post","link":"https:\/\/wp.jkhayer.us\/?p=1015","title":{"rendered":"Windows remote desktop port change"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">You can change the default Remote Desktop (RDP) port on Windows by <mark>modifying the registry value in the <a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/www.google.com\/goto?url=CAESpgEB6zswFbXhalGlvnjJLn8KeG0_SRKkyaATihBrLXv6H7kYBLWaUDlJRgx_j4hWWejWseaRvUEfNKxEIyY-bDjv0r2rpl3dMwQF5SfXTgQWiJ8GRvIpatPJiQWIMPOXUcDFjK1aDU2PTppfDHkxxahLqgDMA8V5AWdoJaD8e3n_SEWicUt7ImIvBnG93rMHLougT12NdAS5rrdFtCFx0hili8Hc89J9\">Registry Editor<\/a> and updating your firewall settings<\/mark>. [<a href=\"https:\/\/www.google.com\/goto?url=CAESiQEB6zswFT8IyCDg4pgS_Crcs1PmyVPA9bke-DxHVJ3iFfMoFC0kxIz2Z0AOe7oMLIXkDkbDcnwhwOD6K3xkLd-3yiU2Wnla6ui3SFs_G77W32xKF65rS6FkG5Vl4WA5sfPCR8jN0HV8kqXMDCSGn5wISWFtge2_a1wpRO8pVDAUDDiXbO1tyR-a0A\">1<\/a>]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Step 1: Change the Port in Registry Editor<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Press <strong>Windows Key + R<\/strong>, type <code>regedit<\/code>, and press <strong>Enter<\/strong>.<\/li>\n\n\n\n<li>Go to <code>HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Terminal Server\\WinStations\\RDP-Tcp<\/code>.<\/li>\n\n\n\n<li>Find and double-click the <strong>PortNumber<\/strong> value.<\/li>\n\n\n\n<li>Select <strong>Decimal<\/strong> under the Base section.<\/li>\n\n\n\n<li>Type your new port number (choose a number between <code>1024<\/code> and <code>65535<\/code>, such as <code>3390<\/code>) and click <strong>OK<\/strong>. [<a href=\"https:\/\/www.google.com\/goto?url=CAESpgEB6zswFbXhalGlvnjJLn8KeG0_SRKkyaATihBrLXv6H7kYBLWaUDlJRgx_j4hWWejWseaRvUEfNKxEIyY-bDjv0r2rpl3dMwQF5SfXTgQWiJ8GRvIpatPJiQWIMPOXUcDFjK1aDU2PTppfDHkxxahLqgDMA8V5AWdoJaD8e3n_SEWicUt7ImIvBnG93rMHLougT12NdAS5rrdFtCFx0hili8Hc89J9\">1<\/a>, <a href=\"https:\/\/www.google.com\/goto?url=CAESgQEB6zswFaN3ecdafg38p2mPLmnJoRxO401Kj8DNV2ahPdw7Q4MzbSz43wnKBjwqc3pvbgISJRt5WEDuFOfhJS89_lPpcpAfJFlLefTxmsX4uXLKSUqz_mrOX0BuNoMOABz7HfR9fYiOLmBpgSWS-nYCMseH0u5blPlZmKVxzGaCGFU\">2<\/a>, <a href=\"https:\/\/www.google.com\/goto?url=CAESnAEB6zswFVpdB2-kqBdP4G-0TFKRMjFiVeXMTadF_H671LLWsIKLzHsyuLlBq5Oc5WsJHcdJZd6Pnu-lpGRfAau6IhW_RYFBCejqyXYWKJEdV6riS3lpeswrHjAptqt2mRfUEMPXH7GxPc6a-gwR8t4Lc2FUHQNcQDhRiZHYpSpHLpIVdTbOtjrL18gdRdnyoXbc_8XvbBDGkdGu-6U\">3<\/a>, <a href=\"https:\/\/www.google.com\/goto?url=CAESZgHrOzAVILNeZXHbl-qO15ZiRQ9GeH429fqBhprKTxcNXZNDEXPfn9ZMaMdXQaBBDafpdua2RQ3VcY6fNU_abdTn0bPXRd33sTC8iZ4qtRx22S3Zh3v2-FUY5-YihNEcdHF5TF84kg\">4<\/a>, <a href=\"https:\/\/www.google.com\/goto?url=CAESdgHrOzAVLc2XxaZ8TBLBG7l5Z9uy2aFcJ4vZXE-NUejtKg8NN3J56IyF1fpQ32bNzYrV5_7kwbX0-4tFN_4ixuO4a6lMAFliSIxPiABWsUhu-_CreicHbkqnVl4Nq9sYVYPFbc40kOltT4mxVksAoq1Yg4DkBx0\">5<\/a>]<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Step 2: Open the New Port in Windows Firewall<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open the Start menu, type <strong>Windows Defender Firewall with Advanced Security<\/strong>, and open it.<\/li>\n\n\n\n<li>Click <strong>Inbound Rules<\/strong> on the left menu, then click <strong>New Rule<\/strong> on the right.<\/li>\n\n\n\n<li>Select <strong>Port<\/strong>, click <strong>Next<\/strong>, choose <strong>TCP<\/strong>, and enter your new port number under <strong>Specific local ports<\/strong>.<\/li>\n\n\n\n<li>Select <strong>Allow the connection<\/strong>, apply it to all network profiles, give the rule a name, and finish. [<a href=\"https:\/\/www.google.com\/goto?url=CAESYwHrOzAVcR1FgW5S4Q7BoDVVlnFqjVlpXabP5OOSZF8AOvzsMUcln7aSHIAOZp_jxM8AnO-Rj5_IhDhwCt2fbqWQ-e6cEraM5uIgrFUkY0uIlHg2oJvlaMI_BesFX0YG-kwA4w\">1<\/a>, <a href=\"https:\/\/www.google.com\/goto?url=CAESpwEB6zswFeuHzhNMIc0Oir5M1mnvIdf2bLzB-g8_PRbZkHH4HxX5EbWr8tpfrUhI8pLzSPqNQfk3I-eht6mFjVvPZ4UsWNtI8fXC6U8xnDIPnBejuEYMBeS48OZFVCAYZWI2_R9P_pK0440tQYY-J0CxHI7I9T0nrCI0soXXG0DK9pX0ig2MxER7dNtV8rK7oaePehYwyhyKtVAcIZWFlb10XXcmyRg8zQ\">2<\/a>]<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Step 3: Restart Your Computer<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Restart your Windows PC or Server to apply the new listening port.<\/li>\n\n\n\n<li>When connecting remotely, use your computer&#8217;s IP address followed by a colon and the new port number (for example: <code>192.168.1.50:3390<\/code>). [<a href=\"https:\/\/www.google.com\/goto?url=CAESYwHrOzAVDkwyLHA3HAxUe6DmFCCTzZNOtmywOWo3mAg4f09Ai2cBeMOD1ZXWMKdBGxgZ2nmAsgjRH6dsqHvq4df4VU7Q22xfuFC__8zUGgffnd-No7Au83GfCncIcIYsy7Ri9A\">1<\/a>, <a href=\"https:\/\/www.google.com\/goto?url=CAESpgEB6zswFbXhalGlvnjJLn8KeG0_SRKkyaATihBrLXv6H7kYBLWaUDlJRgx_j4hWWejWseaRvUEfNKxEIyY-bDjv0r2rpl3dMwQF5SfXTgQWiJ8GRvIpatPJiQWIMPOXUcDFjK1aDU2PTppfDHkxxahLqgDMA8V5AWdoJaD8e3n_SEWicUt7ImIvBnG93rMHLougT12NdAS5rrdFtCFx0hili8Hc89J9\">2<\/a>, <a href=\"https:\/\/www.google.com\/goto?url=CAESnAEB6zswFVpdB2-kqBdP4G-0TFKRMjFiVeXMTadF_H671LLWsIKLzHsyuLlBq5Oc5WsJHcdJZd6Pnu-lpGRfAau6IhW_RYFBCejqyXYWKJEdV6riS3lpeswrHjAptqt2mRfUEMPXH7GxPc6a-gwR8t4Lc2FUHQNcQDhRiZHYpSpHLpIVdTbOtjrL18gdRdnyoXbc_8XvbBDGkdGu-6U\">3<\/a>, <a href=\"https:\/\/www.google.com\/goto?url=CAESiQEB6zswFT8IyCDg4pgS_Crcs1PmyVPA9bke-DxHVJ3iFfMoFC0kxIz2Z0AOe7oMLIXkDkbDcnwhwOD6K3xkLd-3yiU2Wnla6ui3SFs_G77W32xKF65rS6FkG5Vl4WA5sfPCR8jN0HV8kqXMDCSGn5wISWFtge2_a1wpRO8pVDAUDDiXbO1tyR-a0A\">4<\/a>]<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;d like, let me know:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Are you trying to connect from <strong>inside or outside your local network<\/strong>?<\/li>\n\n\n\n<li>Do you need help setting up a <strong>router port forwarding rule<\/strong> for this new port?<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>You can change the default Remote Desktop (RDP) port on Windows by modifying the registry value in the Registry Editor<\/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":[],"class_list":["post-1015","post","type-post","status-publish","format-standard","hentry","category-windows"],"_links":{"self":[{"href":"https:\/\/wp.jkhayer.us\/index.php?rest_route=\/wp\/v2\/posts\/1015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jkhayer.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jkhayer.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jkhayer.us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jkhayer.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1015"}],"version-history":[{"count":1,"href":"https:\/\/wp.jkhayer.us\/index.php?rest_route=\/wp\/v2\/posts\/1015\/revisions"}],"predecessor-version":[{"id":1016,"href":"https:\/\/wp.jkhayer.us\/index.php?rest_route=\/wp\/v2\/posts\/1015\/revisions\/1016"}],"wp:attachment":[{"href":"https:\/\/wp.jkhayer.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jkhayer.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jkhayer.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}