Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
on 05-31-2017 11:17 AM - edited on 12-30-2018 11:01 AM by Nina.Wolinsky
Users can redirect requests from HTTP to the HTTPS Controller port on Linux using Iptables.
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>
sudo iptables -A INPUT -i eth0 -p tcp --dport <HTTP_PORT> -j ACCEPT
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
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form