title: Azure load balancer rule not working
body: <p>I'm new to Azure Load balancing.. so I'm trying to add 3 VM's (v2) to a load balancer(v2) and configured this as follows:</p>
  
  <ol>
  <li>Added 3 VM's with an availability set. Created Load Balancer and
  used the Availability set. </li>
  <li>Added inbound firewall rule for the TCP
  port on all 3 VM's  </li>
  <li>Configured inbound NAT rules so that the client
  can hit for a specific VM at a particular port internally -This
  worked fine!</li>
  </ol>
  
  <p>Now I need to test a scenario when I need clients to send data to a specific TCP port which should be distributed to the 3 VM's and I did the following steps:</p>
  
  <ol>
  <li>Removed the previously created NAT Rules.</li>
  <li>Added the 3 VM's under a single back-end pool.</li>
  <li>Added Probes to non http TCP port.</li>
  <li>Created Load Balancer rule where I have defined the incoming port and the outgoing TCP port which is different.</li>
  </ol>
  
  <p>This does not seem to be working, any idea why ?</p>
  
  <p>I have 3 VM's configured in a backend pool and need the public network to hit the LB on a custom tcp port, which will inturn hit the VM's randomly configured in the pool. The probes are configured to connect the custom TCP port.  The three VM's make use of a common NSG that has inbound rules to allow connections from the incoming custom TCP port. </p>
  
  <p>The port at which the service (td-agent/Fluentd) runs is 24224 on the 3 VM's
  Current issues:</p>
  
  <p>1) Unable to telnet to the custom TCP port from the LB's public IP. But this works if I create an inbound NAT rule for that port (after deleting the LB rule)that hits to a particular VM, which is not my requirement.</p>
  
  <p>2) Diagnostics for the LB are not writing to the storage as configured to check if the probes are working.</p>
  
  <p>3) No tool or command to check or simulate how the probe connects, if there is one please let me know.</p>
  
  <p>This has also been posted here:
  <a href="https://social.msdn.microsoft.com/Forums/azure/en-US/fca163f9-0d41-4a42-8278-0caaed91b3ff/azure-load-balancer-rule-not-working" rel="nofollow">https://social.msdn.microsoft.com/Forums/azure/en-US/fca163f9-0d41-4a42-8278-0caaed91b3ff/azure-load-balancer-rule-not-working</a></p>