cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The AppDynamics Community is Migrating this Friday, February 28th.


At 6pm PST, the AppDynamics Community will go into read-only mode and after migration is complete, you will be redirected to community.splunk.com.
Read more here


Saradhi.Potharaju
AppDynamics Team (Retired)

Users can redirect requests from HTTP to the HTTPS Controller port on Linux using Iptables.

 

  1. In your computer terminal, replace eth0 with your actual interface name using the following command:
    • sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport <HTTP_PORT> -j REDIRECT --to-port <HTTPS_PORT>
  2. If port 8090 and 8181 are not open, run the following command:
    • sudo iptables -A INPUT -i eth0 -p tcp --dport <HTTP_PORT> -j ACCEPT
Example:

 

Note: Assuming interface "eth0," HTTP port "8090," and HTTPS port "8181."

 

sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 8090 -j REDIRECT --to-port 8181
sudo iptables -A INPUT -i eth0 -p tcp --dport 8090 -j ACCEPT

 

Version history
Last update:
‎12-30-2018 11:01 AM
Updated by:
Ask the Experts Session: Hybrid Application Monitoring Deployment

Join us on Feb 26 to explore Splunk AppDynamics deployment strategies, SaaS models, agent rollout plans, and expert best practices.


Register Now

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here
Contributors