Unable to connect Azure VM to Mac using RDP

Calvin Teater 41 Reputation points
2021-10-27T14:24:48.36+00:00

Hi,
I created my infection monkey virtual machine for a testing environment. Allowing inbound port 3389 rule for the network. Downloaded the Microsoft Remote Desktop on my Mac and tried connecting the virtual machine, but it still comes up with Error Code 0x024 "We couldn't connect to the remote PC. Make sure the PC is turned on and connected to the network, and that remote access is enabled." I have already redeployed my VM before and it still has not worked, so I am not sure how to connect my Mac to the virtual machine. I followed the troubleshooting page instructions and nothing seems to help. The group containers folder is not on my Mac either. It would be great if someone could help me with this. Thank you.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,143 questions
0 comments No comments
{count} votes

Accepted answer
  1. Senzo Ngcobo 81 Reputation points
    2021-10-27T17:22:42.493+00:00

    Yes, Im sorry I had missed that in your initial question. Although I am not familiar with this image, I have gathered that you would not be able to log onto it in the traditional way.

    Please head over to your web browser and type in https://{vm1PublicIP}:5000 to access Infection Monkey

    Please mark this question as answered


6 additional answers

Sort by: Newest
  1. Calvin Teater 41 Reputation points
    2021-10-27T15:53:39.107+00:00

    Yes, I configured the rule to allow all port ranges for the source ports. This is what is listed in the /default. I'm not sure if this is what you were looking for or not. Otherwise, I will need some guidance on how to do the rest of this.

    144206-screen-shot-2021-10-27-at-105117-am.png


  2. Senzo Ngcobo 81 Reputation points
    2021-10-27T15:44:26.533+00:00

    Thanks for the reply, I can see that this NSG is associated to the vNIC.

    First thing to look at is if you configured your rule correctly. Did you specify the source port ranges to all (*) ? and not just 3389 ?

    Further more I would ask that you please check on the /default subnet if you have any NSGs and if they are allowing RDP port 3389 and to make sure that source port is set to all by using an asterisk *

    0 comments No comments

  3. Calvin Teater 41 Reputation points
    2021-10-27T15:14:36.273+00:00

    144273-screen-shot-2021-10-27-at-100536-am.png

    Sorry, I uploaded the same picture twice. Here is the other screenshot.

    0 comments No comments

  4. Calvin Teater 41 Reputation points
    2021-10-27T15:10:30.14+00:00

    144253-screen-shot-2021-10-27-at-100555-am.png

    144140-screen-shot-2021-10-27-at-100555-am.png

    Here are the pictures. I am currently doing the trace route right now and the rest of it is *** for the hops

    0 comments No comments