Proxy server configuration for TRKD API apps in Java platform

Bondy_Bo
Bondy_Bo Contributor

I need to configure my proxy server for a Java application for a TRKD application. Can you show me the best way how? Specifically, how I can set up for HTTP and HTTPS traffic?

Tagged:

Best Answer

  • Ripley79
    Ripley79 Contributor
    Answer ✓

    For HTTP Traffic:

    http.proxyHost (default: <none>)

    The host name, or address, of the proxy server

    http.proxyPort (default: 80)
    The port number of the proxy server.

    http.nonProxyHosts (default: localhost|127.*|[::1])

    Indicates the hosts that should be accessed without going through the proxy. Typically this defines internal hosts. The value of this property is a list of hosts, separated by the '|' character. In addition the wildcard character '*' can be used for pattern matching. For example -Dhttp.nonProxyHosts=”*.foo.com|localhost” will indicate that every hosts in the foo.com domain and the localhost should be accessed directly even if a proxy server is specified.


    For HTTPS Traffic:


    https.proxyHost(default: <none>)

    The host name, or address, of the proxy server

    https.proxyPort (default: 443)

    The port number of the proxy server.

    Note: The HTTPS protocol handler will use the same nonProxyHosts property as the HTTP protocol.

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.