Change rdp port number

How to change Remote desktop port ie. RDP port on windows server.

Hacker do have brute force script which try to access windows server using standard RDP port which is 3389. If you check logs on your windows server you will find Unauthorized persons tried to access server using standard RDP port hundreds of times from different country some times their attempt is more than 10000+ times in a day.

To secure server it is recommended to change standard port from 3389 to something else like 32000. You can choose any port which is not in use from range 1-65000.

 

How to change Remote desktop port. Start > Run > regedit > HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\ > On right hand side search for PortNumber . Right click on portnumber > Modify > select decimal > It will show you default port 3389 . Change it to something else like 32000 and click okay.

 

Then go to start > Search  > Control panel > Windows firewall > On left hand side > Click on Advance Setting > Right click on Inbound Rules (Left hand side panel) > New Rule > Port > Check TCP and Specific port >  put 32000 > Next > check “Allow the connection > Next > Next > Name rule like Custom RDP port > Hit Finish.

Now more remote desktop connection application from start > Remote desktop connection > Enter Computer as Server-IP:32000. If your server IP is 10.10.10.32 then put Computer as 10.10.10.32:32000 > Hit connect.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *