1. Modify the remote port to 55555. The server could not be restarted.
(1) Regedit (Registry command) change the first portnumber, then change the following
(2). After changing the port, first go to the firewall inside the IP restrictions and the remote port policy, and then into the Wf.msc (firewall rule settings) Click on the inbound rules → new rule → Port →tcp→ specific local port write on (55555) → allow connection → domain, private, public, Default Select all → name self-defined → OK later open the newly created rule → The remote IP address inside the scope adds the specified IP on the line. Then go to service (services.msc) to find remote Desktop services, right-click to select Restart. Go back to the service and restart the remote service.
2: Install IIS
(1) Open Server Manager → select roles → add roles → tick Web server IIS and application server → add required role servers → default installation tick → Wait for installation to finish → Test the default Web page to open.
Windows system Basic Settings