question

Karusala-6289 avatar image
0 Votes"
Karusala-6289 asked ·

issue with azure VM port

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-networking
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Is there an update? Please 'Accept as answer' if the answer provided below helped you, so that it can benefit others in the community.

0 Votes 0 · ·

1 Answer

msrini-MSFT avatar image
0 Votes"
msrini-MSFT answered ·

@Karusala-6289 , 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.

· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.