This article is used to change the remote desktop port.
Here you can enable a port range.
Here you learn how to enable port in windows 10.