My Java based SOAP Service needs to external connections in the internet but it is behind a proxy server (on an intranet). How do I tunnel through the firewall?

Davanum Srinivas

Suppose your proxy server is called "" and it is on port 9999. There are a couple of ways of configuring Apache to use a proxy. One solution is to use the JVM capabilities to deal with proxies:

For socks based proxy server:
Another solution is to tell TOMCAT to the proxying via the variable TOMCAT_OPTS), for HTTP proxies:
set TOMCAT_OPTS=" -DproxyPort=9999"
For socks:
set TOMCAT_OPTS=" -DsocksProxyPort=1080"
0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact