title: Getting a connection timed out exception in webservices
body: <p>I am getting the following exception when I try to submit a request through webservice.</p>
  
  <p>The stack trace is as below:</p>
  
  <pre><code>Exception in thread "main" com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.ConnectException: Connection timed out: connect
      at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
      at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:194)
      at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:122)
      at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
      at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:626)
      at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:585)
      at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:570)
      at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:467)
      at com.sun.xml.internal.ws.client.Stub.process(Stub.java:308)
      at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:146)
      at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:98)
      at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
      at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:129)
      at $Proxy40.externalSearchPerson(Unknown Source)
      at com.igniteibroker.Main.personSearch(Main.java:52)
      at com.igniteibroker.Main.main(Main.java:64)
  Caused by: java.net.ConnectException: Connection timed out: connect
      at java.net.DualStackPlainSocketImpl.connect0(Native Method)
      at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:69)
      at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
      at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
      at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
      at java.net.Socket.connect(Socket.java:579)
      at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
      at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160)
      at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
      at sun.net.www.protocol.https.HttpsClient.&lt;init&gt;(HttpsClient.java:270)
      at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:327)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:974)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
      at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1090)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
      at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:105)
      ... 15 more
  </code></pre>
  
  <p>please help me resolve this if you have identified the issue. Thanks in advance</p>