i have build a request to connect a third party , when i put this request at address bar in browser , i got proper response.
but if i tried same thing using HttpClient. We are tying to send request through API : Apache – HttpClient to value first server using following detail : Host: api.myvaluefirst.com( a third party service provider ) Port: 80 Method: “GET” Http version: 1.0 But we got a following exception apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: Retrying request java.net.ConnectException: Connection refused: connect Should we need local-host Address and local-port? should i need some more setting .. please guide me . -- View this message in context: http://www.nabble.com/java.net.ConnectException%3A-Connection-refused%3A-connect-tp17145170p17145170.html Sent from the HttpClient-User mailing list archive at Nabble.com.