Cannot connect to open ports in Azure Virtual Machine

Noel 25 Reputation points
2023-09-27T07:34:31.99+00:00

I have an Ubuntu 20.04 server in azure to which I can connect throug ssh. Nevertheless, I am trying to open other ports (6000 to be specific), but it is impossible for me to access the server through other ports other than 22.

I am following every tutorial on the internet, all of them say the same: Go to VM Resource --> Networking --> Add Inbound port rule. It does not work.

Captura de pantalla de 2023-09-27 09-28-15

As you can see, port 6000 is wide open for all traffic, and still it cannot be accessed from other computer.

Please, this is not the first time I encounter this issue. For work reasons, I have opened many other virtual machines and for some reason I fail to understand, I can only access opened ports in some of the virtual machines. Please, I have no clue of what is going on, and it is really anoying to deal with this. I have tried to open the ports through the iptables configuration but still I can't access any port.

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

1 answer

Sort by: Most helpful
  1. kangupt-MSFT 20 Reputation points Microsoft Employee
    2023-10-06T12:07:25.26+00:00

    Hello Noel,

    Please check the above response and get back to us.

    -Kanika


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.