axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Oinn <>
Subject Re: Setting port for WS Client (No Firewall Proxy)
Date Tue, 11 Nov 2003 15:17:26 GMT
Surely if you want the client to use a particular port and you control 
the server, don't you just set the server to run on that port? There is 
no way the client can contact the server on any port other than the one 
it's running on...

My advice would be to install a proper HTTP proxy server and configure 
the client appropriately, you'll also need to tell it which machine the 
proxy is running on and any hosts that the proxy should be bypassed for. 
As a general rule just punching holes through your firewall leads to 
some real security nightmares.


Bobak, Greg P. wrote:
> Using this:
> System.setProperty("http.proxyPort",;
> Did not change the source port for the WS Client.
> Any suggestions are greatly appreciated.
> Greg Bobak     
> -----Original Message-----
> From: Bobak, Greg P. []
> Sent: Tuesday, November 11, 2003 9:34 AM
> To: ''
> Subject: Setting port for WS Client (No Firewall Proxy)
> Hi,
> I've searched the archive for this to no avail:
> I have an Axis client that will sit behind a tightly controlled 
> firewall.  The service resides on an external IP -- I need to tell my 
> network administrators which ports to open to that IP -- WE DO NOT HAVE 
> A PROXY through the firewall.  Will this work to force the Axis client 
> to use a select port:
> System.setProperty("http.proxyPort",;
> If it does (I will check), are there any threading concerns (multiple 
> clients running simultaneously hitting the same port)?
> Regards,
> Greg
> Greg Bobak     
> Cole National
> Privileged/Confidential Information may be contained in this message. If 
> you are not the addressee indicated in this message (or responsible for 
> delivery of the message to such person), you may not copy or deliver 
> this message to anyone. In such case, you should destroy this message 
> and kindly notify the sender by reply email. Please advise immediately 
> if you or your employer do not consent to Internet email for messages of 
> this kind. Opinions, conclusions and other information in this message 
> that do not relate to the official business of my firm shall be 
> understood as neither given nor endorsed by it.

View raw message