Can't connect to Linux VM with RDP

koen1711 1 Reputation point
2022-10-16T18:24:10.967+00:00

I've tried everything for the past 2 hours but I can't connect to my Linux VM, this morning I could but all of the sudden not.
These are my rules: https://gyazo.com/8d718191b4570335683b666d6e81ccef

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,013 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Manu Philip 20,206 Reputation points MVP Volunteer Moderator
    2022-10-16T18:44:06.323+00:00

    It's usually Linux VM can't be connect by RDP over port 3389. Are you saying about SSH over port 22?


  2. koen1711 1 Reputation point
    2022-10-16T18:50:40.853+00:00

    I've added another port and tried it over that, only SSH connection works, my other custom ones don't.


  3. Rafael da Rocha 5,251 Reputation points
    2022-10-16T19:55:54.937+00:00

    Hello @koen1711
    if it was working before, make sure whatever service was providing the functionality is still active on the VM.
    Using your preferred method, check for processes listening on the ports you want to connect, and if IPTables or equivalent is in use, the rules are still allowing the connection.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.