i missed setting the proxy , 
now , if i run my java class , it's work fine . 
but when i try to debug , it's throw a following exception 

Unhandled exception
Type=Segmentation error vmState=0x00000000
J9Generic_Signal_Number=00000004 ExceptionCode=c0000005
ExceptionAddress=020B35D7 ContextFlags=0001003f
Handler1=7EFB0630 Handler2=01CD7A80 InaccessibleAddress=00000014



ghan_java wrote:
> 
> 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-tp17145170p17185766.html
Sent from the HttpClient-User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to