AppD Archive

Reverse proxy setup for Java app agents

Ketan_Mistry
New Member

I have an on-premise 4.1 install. I am trying to connect Java agents and UI through an Apache Reverse Proxy.

UI seems to be working fine.

I have a Java agent that was successfully connected to the controller directly i.e

<controller-host>mycontroller.db.com</controller-host>

<controller-port>8090</controller-port>

I see I have to add the following JVM startup command line properies:

-Dappdynamics.http.proxyHost=myproxy.db.com

-Dappdynamics.http.proxyPort=80

Q1: do I leave the controller-host and controller-port values as they are?

Q2: as I am using HTTP through the proxy, no SSL at the moment, do I need to setup proxy authentication? 

       -Dappdynamics.http.proxyUser

       -Dappdynamics.http.proxyPasswordFile

0 Karma

Arun_Dasetty
Super Champion

Hi Ketan,

Q1: Yes, controller-host and controller-port values must be updated with actual values of controller host and port as you listed earlier:

<controller-host>mycontroller.db.com</controller-host>

<controller-port>8090</controller-port>

Q2: If your proxy is non-authenticated or anonymous proxy you would "not" need to mention/pass args for proxyuser/pass, Hope that answers

0 Karma

Ketan_Mistry
New Member

Thanks got it working now.

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...