title: Tomcat HTTP 500 Error for a URL
body: <p>My API is running in Tomcat server. While trying to connect to a domain, i am getting HTTP 500 error response from Server. The same url works fine in the browser, also works fine if i run the class from eclipse.</p>
  
  <p>Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://&lt;>
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)</p>
  
  <p>Is there any setup needed in Tomcat end to make the HTTP URL work?</p>