aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Connection Refused" Watch "Connection Refused" New topic
Author

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 java.net.ConnectionRefused error. Could anybody let me know why does this happen and is there a way to circumnavigate this.
Cheers
Jack
Venkatesh Krishnappa
Greenhorn

Joined: May 26, 2003
Posts: 16
Jack,
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.
-venky
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connection Refused
 
Similar Threads
JSP is very confusing...
WebSphere dev. studio classpath problem??
Need Information for my SCWCD preparation.
I am fail in the Exam
Passed By Reference?