Spring Boot - webservice: Connection Refused
<p>I am trying to implement spring boot webservice application as given in spring docs :</p>

<p><a href="https://spring.io/guides/gs/consuming-web-service/" rel="nofollow">https://spring.io/guides/gs/consuming-web-service/</a></p>

<p>Build was successful, request and response java files was created and , but when executed spring-boot:run , it gives </p>

<pre><code>Caused by: org.springframework.ws.client.WebServiceIOException: I/O error: Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: connect
    at org.springframework.ws.client.core.WebServiceTemplate.sendAndReceive(WebServiceTemplate.java:561)
    at org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:390)
    at hello.WeatherClient.getCityForecastByZip(WeatherClient.java:30)
    at hello.Application.main(Application.java:20)
</code></pre>

<p>But the URL is accessible via web browser in eclipse. Kindly help me solve this issue</p>