Path: csiph.com!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Knute Johnson Newsgroups: comp.lang.java.programmer Subject: Re: IllegalArgumentException with Socket API and Proxy with Proxy.Type.HTTP Date: Sun, 29 Jul 2012 08:36:35 -0700 Organization: A noiseless patient Spider Lines: 12 Message-ID: References: <0ac597b5-4afa-4839-88cf-47c91d6f9b8b@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 29 Jul 2012 15:36:38 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="9b3fcb0d22708969e4dc99e7aa0ef1f9"; logging-data="15522"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18HwoRgEzl8GW5rcg/SiEvF" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: <0ac597b5-4afa-4839-88cf-47c91d6f9b8b@googlegroups.com> Cancel-Lock: sha1:Oh948RMX/L3TIzs+a1OXdpg7dGM= Xref: csiph.com comp.lang.java.programmer:16511 On 7/26/2012 10:00 AM, Greg wrote: > I am trying to create a socket with the proxy type of HTTP. Every > time the socket is created an IllegalArgumentException is thrown. I > have learned from googling that the HTTP proxy is unsupported in > sockets. What is the work around? Does anyone know? Any help would > be much appreciated as there doesn't seem to be an answer readily > available that I can find. > > Greg > You can set up proxies in the Java Control Panel.