Difference between revisions of "Proxy Server Settings"
m (1 revision imported) |
|
(No difference)
|
Latest revision as of 12:52, 11 May 2017
Contents
Overview
Swivel requires to connect to the internet for various applications such as SMS gateways. It is possible to configure Tomcat to route traffic through a proxy server.
See also Appliance Proxy Server Upgrade
Prerequisites
Swivel 3.x
Access to configure Tomcat
Symptoms
No connection through proxy server such as for SMS gateways
Solution
Edit catalina.properties
located in <Path to Apache Tomcat>\conf
Windows Example running Apache Tomcat 6.0:
C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf
Add the following lines to the end of the file (if only http or https connections are being used then just the relevant connection type can be used):
http.proxyHost=ProxyIP
http.proxyPort=ProxyPort
http.proxyUser=ProxyUserName
http.proxyPassword=ProxyPassword
https.proxyHost=ProxyIP
https.proxyPort=ProxyPort
https.proxyUser=ProxyUserName
https.proxyPassword=ProxyPassword
Change the following to suit your environment:
ProxyIP IP of the Proxy Server
ProxyPort Port of the Proxy Server
ProxyUserName Username of proxy (if not specified use anonymous)
ProxyPassword Password of proxy (if not specified use anonymous)
For the setting to take effect Restart Tomcat