Configuring SAP Mobile Server to Securely Communicate With an HTTP Proxy

If you want SAP Mobile Server connect to an HTTP Proxy, you can set connection properties for it when you optimize SAP Mobile Server performance.

  1. In the left navigation pane, expand the Servers folder and select a server.
  2. Select Server Configuration.
  3. In the right administration pane, select the General tab.
  4. In the User Options row, enter command-line options to control the startup behavior.
    Enter options as a series of Java system property and value pairs, using this syntax:
    -DpropertyName=value
    Supported properties include:
    • -Dhttp.proxyHost – for the host name of the proxy server.
    • -Dhttp.proxyPort – for the port number. The default value is 80.
    • -Dhttp.nonProxyHosts – for the list of hosts that should be reached directly, thereby bypassing the proxy. Separate multiple entries with |.
      The patterns may start or end with a * for wildcards. A host name that matches the wildcard pattern can bypass the proxy. For example, to use command-line options to configure a proxy and other non-proxy hosts (including those on local computers):
      -Dhttp.proxyHost=proxy.myDomain.com –Dhttp.proxyPort=8080 –Dhttp.nonProxyHosts=*.myOtherDomain1.com|localhost|*.myOtherDomain2.corp
  5. Click Save.
  6. Restart the server for changes to take effect.
Related reference
Proxy Properties