issue with azure VM port

Karusala 1 Reputation point
2020-01-23T11:11:58.54+00:00

Hello Experts,

We build 2 Azure VM's one with linux and another with windows in two different Vnets but we did peering.And we are able to do ssh to linux from windows VM by both Public ip and Private ip.
Then we installed HANA DB in linux system and trying to connect from windows vm but Host is not reachable .

Also we try to do telnet from windows VM to linux Vm but it is not connecting getting error."local port 64058 to address 0:0:0:0:0:0:0:0, remote port 30013 to address 10.2.0.4 (hanap))], -813.]"

Error:Cannot connect to host hanap:30013 and local port 64058 to address 0:0:0:0:0:0:0:0, remote port 30013 to address 10.2.0.4 (hanap))], -813.].

We opened NSG inbound and out bound ports in both VM's and tried but no luck.Even we open all ports and given a try still no luck.

Could you please help on this issue.

Thanks in advance.

Regards,

Murali

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

1 answer

Sort by: Most helpful
  1. msrini-MSFT 9,256 Reputation points Microsoft Employee
    2020-01-27T12:10:24.727+00:00

    @Karusala , As you mentioned that you are able to connect from Windows machine to Linux machine which are in different VNET, we can infer that there are IP connectivity between 2 VMs.

    Now if you are not able to connect to the DB, then there can be issue with the following :

    1. Your Linux VM might have IP Tables configured which blocks the connectivity to the DB port
    2. Check whether the service is running on your Linux Vm with "netstat -ano" command and also you can try to access the port locally to check if that works.
    0 comments No comments