2

I'm trying to connect to a VM hosted in Azure and for some reason the remoting connection never established like you would typically see while on a corporate network.

Things I've checked:

  • Enabled PS Remoting on the VM and validated the server shows it's enabled.
  • Azure VM shows inbound connections are allowed on port 5985.

Azure VM Connection Troubleshooter

Note: This issue was originally posted on Sitecore Slack by Kamruz Jaman and I moved here to preserve the information.

1 Answer 1

1

After a bit of trial and error I got it working.

Troubleshooting:

  • Used Test-NetConnection on port 5985 using the public IP and full domain name to the machine. This failed until completely disabling the firewall on the VM.
  • Ultimately the Windows Firewall had a WinRM rule on the public profile set to Local Subnet only. Changing to Any IP solved the issue. Defining the proper IP ranges would be better longer term.

WinRM Inbound Rule

WinRM Advanced Properties

WinRM Scope

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.