title: Connecting to Azure service bus through proxy - Java
body: <p>I am trying to implement the Azure service bus with help of java to receive messages from the queue but I am unable to connect to the service bus because of a proxy, I am getting a connection time exception i.e. </p>
  
  <blockquote>
    <p>Microsoft.azure.servicebus.primitives.ServiceBusException: Error{condition=proton:io, description='Connection timed out: no further information', info=null}</p>
  </blockquote>
  
  <p>and when I am trying it from my local network(without proxy) it is connecting to azure bus without any problem. I am using the same sample code which Microsoft has provided on GitHub i.e. <a href="https://github.com/Azure/azure-service-bus/blob/master/samples/Java/azure-servicebus/QueuesWithProxy/src/main/java/com/microsoft/azure/servicebus/samples/queueswithproxy/QueuesWithProxy.java" rel="nofollow noreferrer">QueuesWithProxy.java</a>.</p>
  
  <p>How to configure proxy for azure service bus using java?</p>