To change the Remote Desktop port on the Windows VPS you just need to follow these steps:

    1. Download the Script.
      Already inside your VPS, open the Google Chrome browser and go to the address https://hostmf.com.br/links and click the code option 01.001. "01.001 - Download script to change Port".



    2. Confirm the Script Download.
      When downloading the script, a warning will be displayed, click the "Keep" option.




    3. Open the folder where the script was downloaded.
      After downloading, click the options of the downloaded file and click "Show in folder".




    4. Run the Script.
      In the downloads folder, right-click the downloaded file, and click the option "Run with PowerShell".




    5. Enter the new port.
      When the script starts, the current connection address to the VPS will be displayed, along with the option to type the new access port.
      Type a port as requested by the script (between 1000 and 9999). Be sure to save this new number, as it will be used to connect to the VPS.




    6. Save the new connection address.
      After entering the new port, the script will apply the change to your system and display the following confirmation message.
      Remember to save the new IP Address to connect to the VPS.




    7. Restart the VPS.
      Afterwards, restart the VPS so that the change is applied. Once restarted, you will be able to connect using the new port.


After that, the process will be complete and your VPS will already be available on the new port.

Was this answer helpful? 101 Users Found This Useful (397 Votes)