Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Problems Using RDP due to invalid ports generated from Get-AzureWinRMUri

$
0
0

Hi,

I have written a script which automatically creates VMs.

The script makes use of the Get-AzureWinRMUri command which gives a PORT number of 59259.

When I try to RDP on to the VM using PORT 59259, I get an error, however when I RDP on to the VM using port 53617 I get through!

I'm not sure why the Get-AzureWinRMUri gives me a port that does not work. The only reason I know about the correct port is by going into the azure management portal and clicking CONNECT on the VM which donwloads an RDP file.

Any help, will be appreciated.

Thanks.


Viewing all articles
Browse latest Browse all 12545

Trending Articles