aspose file tools*
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 Spring in Action this week in the Spring 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 ]
 
 
subject: java.net.Connect Exception: Connection refused: connect