Proxy Server Settings

From Swivel Knowledgebase
Revision as of 10:28, 11 January 2013 by Gfield (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



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