even though we opend ports for linux machines we are not able to connect to the machines we have opend in OS leven as well as network level

Krishna, Vamsi 6 Reputation points
2022-08-27T09:59:32.507+00:00

We have created machines in Azure from market place image and our OS is Red Hat Enterprise Linux release 8.6 (Ootpa) we have opened the ports in OS level as well as Network level but we the communication has an issue, if we disable we are able to connect to the machines

Please help us on the below issue

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

2 answers

Sort by: Most helpful
  1. Jackson Martins 10,141 Reputation points MVP
    2022-08-27T10:53:06.857+00:00

    Hi @Krishna, Vamsi

    for external access to work, you have to create inbound rules in the network Security Group

    You need to create a rule on NSG, for ports you want to Publish to Internet:

    235367-inbound-rule.png

    Reference : https://learn.microsoft.com/en-us/azure/virtual-network/manage-network-security-group

    Get in touch if you need more help with this issue.

    --please don't forget to "[Accept the answer]" if the reply is helpful--


  2. srbhatta-MSFT 8,551 Reputation points Microsoft Employee
    2022-08-31T11:44:26.257+00:00

    Hello @Krishna, Vamsi ,
    As I understand, you are able to telnet to the RHEL VM, but unable to establish SSH connection. This actually means that there is either an issue with the SSHD daemon/service.
    Please ensure you check if the SSHD daemon in in active state or not. Secondly, check which port is configured in the sshd_config file.
    Also, let us know the exact error (screenshot would help) when you are trying to SSH to the VM.
    Thanks.
    Check that SSH service is running
    Check which port SSH is running on

    Let me know if this helps? Tag me in your response.

    ---------------------

    If the above information is helpful, then kindly accept as answer for the benefit of community.

    0 comments No comments