I have downloaded the Jsoup jar and added it in the library. I have added the proxy settings in Eclipse. But when ever I try this in the code:
Document doc = Jsoup.connect("http://www.wikipedia.com").get();
it throws the following error: Errorjava.net.ConnectException: Connection refused: connect
Can anyone help me figure out a solution? Is there a specific way to set the proxy (in case I am missing something). Attaching screenshot of the same. Any help/guidance will be highly appreciated.