On Fri, 2008-05-09 at 03:19 -0700, 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 . >
Are you sure the browser has not been configured to send requests via an HTTP proxy? Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
