0
votes

I try to integrate a web app to a VNET. this is a brand new subscription.

According to : Integrate your app with an Azure virtual network

enter image description here In the first step I wanted to check if the web app could reach out to VNET. The second step I want to connect the web app to SQL database through a Service Endpoint

I created a VNET with 2 subnets:

  1. Jumpbox-subnet
  2. integration-subnet enter image description here

integration-subnet setting
enter image description here

There is service endpoint pointing to the integration-subnet. Also I integrated the app to the VNet, It's delegated the integration subnet. I tried to connect to VM from App using tcpping 172.16.1.0 (jumpbox VM private address) from app console, but it failed. I also app cannot connect to the sql database.

What are the missing pieces here, is a DNS server required to make this work?

Update (Resolved):

The question above was the key, It needs away to resolve the name with some sort DNS server.

tcpping default port is 80 and nothing was listening to that port in that box.

1
When you do a TCP ping you need to specify a port for the destination. Can you share the TCPping results?msrini-MSIT
Yes the Port was missing.Fred Jand
@Nancy Xiong answer pointed me to the correct location. The issue was DNS setting.Fred Jand

1 Answers

1
votes

You could use the tool tcpping to test for TCP connectivity to a host and port combination.

The syntax is: tcpping.exe hostname [optional: port]

For example, run tcpping 172.19.1.10:3389

enter image description here

See troubleshooting app service networking for more details.

For more references, Here is an ARM example to deploy an app service with VNet integration and enable service endpoint Microsoft.Storage.