cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

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.

Knowledge Base

How do I block external access to the Controller Database?

This topic provides a firewall-based method to block external access to the Controller MySQL Database by dropping all traffic trying to connect to port 3388.

 

Environment and components

Linux such as RHEL, Centos, systems using iptables if your system uses iptables, you can do this. If not, contact your sysadmin for an alternative.

 

Solution

As root, these commands:

 

iptables -A INPUT -s 127.0.0.1 -p tcp --dport 3388 -j ACCEPT 
iptables -A INPUT -p tcp --dport 3388 -j DROP 
service iptables save

 

These commands do the following:

1. Create a firewall rule allowing port 3388 to be accessed from localhost (127.0.0.1).

2. Create a firewall rule blocking all access to port 3388.

3. Save the firewall rules so they are automatically applied at boot time.

Version history
Last update:
‎11-26-2018 04:08 PM
Updated by:
Contributors
By replying you agree to the Terms and Conditions of the AppDynamics Community.
0 Kudos