This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Web Services and the fly likes Connection Refused Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Web Services
Bookmark "Connection Refused" Watch "Connection Refused" New topic

Connection Refused

jack nick
Ranch Hand

Joined: Jan 11, 2001
Posts: 96
Hello there,
Probably this is as straightforward as not being able to get throught a firewall. But am have written a servlet that consumes the Amazon web services. This works fine if I test if from my PC but setting it up the same way on my university box it give the error. Could anybody let me know why does this happen and is there a way to circumnavigate this.
Venkatesh Krishnappa

Joined: May 26, 2003
Posts: 16
if you are behind a firewall, you have to set proxy setings in your application.
set java system property http.proxyHost and http.proxyPort and give a try.
GeeCON Prague 2014
subject: Connection Refused