This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes java.net.Connect Exception: Connection refused: connect Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "java.net.Connect Exception: Connection refused: connect" Watch "java.net.Connect Exception: Connection refused: connect" New topic
Author

java.net.Connect Exception: Connection refused: connect

carina caoor
Ranch Hand

Joined: Jun 23, 2007
Posts: 300

Hi i am using commons-httpclient to send parameters in the messgae body while invoking a servlet (making post request) now when i call my application url which is running on SSL it throws me followi ng error

TestConnection.java



error




when i changed the called url to www.google.com




it throws following error



can anybody please guide me in solving the issue.
[ November 23, 2008: Message edited by: ruquia tabassum ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.net.Connect Exception: Connection refused: connect
 
Similar Threads
RequestDispatcher not throwing IllegalStateException
file upload from action
File output format
Servlets example
Jetty: wt are the reasons for the doPost method to be called twice?