title: Azure Web app connect to VM service on private network
body: <p>I've created windows server virtual machine with active directory controller and my web app is communicating with it on public ip successfully (by ldap), but when i try connect to ldap on private ip (virtual network) it does not respond</p>
  
  <p>to my Web app i have set VNet Configuration 
  <a href="https://i.stack.imgur.com/lU7ak.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lU7ak.png" alt="![enter image description here"></a></p>
  
  <p>my virtual machine network tab:</p>
  
  <p><a href="https://i.stack.imgur.com/r6tZa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r6tZa.png" alt="enter image description here"></a></p>
  
  <p>But it does not work when i try to connect to ldap://10.0.1.4:389</p>
  
  <p>What should i do?</p>
  
  <p>I can't even test my connection between webapp (by tcpping) and vm neither on public and private ip</p>
  
  <p>i couldn't add to my webapp vnet integration on 10.0.1.0/24 because there was written that this subnet is already in use (or sth like that)</p>
  
  <p>what should i type when i do vnet integration?</p>
  
  <p><a href="https://i.stack.imgur.com/VmiFM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VmiFM.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/eQCTk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eQCTk.png" alt="enter image description here"></a></p>