This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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 ]
 
jQuery in Action, 2nd edition
 
subject: java.net.Connect Exception: Connection refused: connect
 
Similar Threads
RequestDispatcher not throwing IllegalStateException
Servlets example
Jetty: wt are the reasons for the doPost method to be called twice?
File output format
file upload from action