Hi Nirin,
This configuration option isnt available yet on : · The internal HTTP client (org.restlet.engine.connector) · The Apache HTTP client (org.restlet.ext.httpclient) I have entered this RFE: Allow bypassing proxy http://restlet.tigris.org/issues/show_bug.cgi?id=1347 However, you should be able to make it work by using the client based on HttpURLConnection (org.restlet.ext.net) by setting the System property nonProxyHosts. Another option is to create two Client instances or the internal connector, one configured with proxy and the other without and manually dispatch the requests using the Router class :) Best regards, Jerome -- <http://www.restlet.org/> http://www.restlet.org http://twitter.com/#!/jlouvel De : [email protected] [mailto:[email protected]] De la part de Tim Peierls Envoyé : mardi 8 novembre 2011 15:12 À : [email protected] Objet : Re: Problem ignoring local addresses when calling restlet webservices using HtpClientConnector (Ext package) Ah, OK, I sort of understand the problem, but I can't help, because I don't know anything about proxy servers. Sorry -- I hope someone on the list has some ideas for you. --tim On Mon, Nov 7, 2011 at 10:02 PM, Nitin Arora <[email protected]> wrote: Hi Tim, I mentioned your name based on the responses that you have already provided in the restlet forum. I can try and the explain the issue again. I've a server running in the LAN which exposes the REST API on port 8006. I've another server which is outside the lan and I consume the REST API on a public url. All the client machines are using proxy servers to access internet. I've developed a REST client which is used to consume the API exposed on both the servers. So, I pass the proxy server information while making the restlet calls. Problem is my first call is intranet server call like http://localhost:8006/info and I'm facing an issue where this call is getting routed through proxy and failing there and I can'r proceed further to execute the internet server call. Code specifics are in the first post. Help me if you have understood the problem now. Thanks Nitin -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/Problem-ignoring-local-addresse s-when-calling-restlet-webservices-using-HtpClientConnector-Ext-packa-tp6964 835p6972976.html Sent from the Restlet Discuss mailing list archive at Nabble.com. ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447 <http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2876 166> &dsMessageId=2876166 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2876515

