title: Eureka not discovering service by name
body: <p>I'm running simple eureka service discovery example as given in the link below :</p>
  
  <p><a href="https://www.logicbig.com/tutorials/spring-framework/spring-cloud/rest-template-load-balancer.html" rel="nofollow noreferrer">https://www.logicbig.com/tutorials/spring-framework/spring-cloud/rest-template-load-balancer.html</a></p>
  
  <p>I observed that while I am running this example on my home wifi/personal laptop this runs fine whereas while it runs on my office workstation on the corporate network, the resttemplate in unable to resolve the services by their name. (get 407 proxy unauthorized)</p>
  
  <p>I can see that both the services are getting successfully registered on Eureka.</p>
  
  <p>What might be stopping the Eureka server to work correctly on the corporate network?</p>
  
  <p>P.S.: By following the answer and making the resttemplate and proxy aware results in 503 services unavailable.</p>