Configuring the firewall for incoming requests to the server

Before you install the Cloud APM server, you might want to temporarily disable your firewall or configure ports for incoming and outgoing requests.

Before you begin

TCP connections are initiated from monitoring agents, API users, and Cloud APM console users to the Cloud APM server. The Cloud APM server can also initiate TCP connections to other servers such as remote database servers. Thus, any firewall must allow the TCP connection to be initiated and a response to be provided.

Procedure

Take one of the following steps to either open ports or disable the firewall:

  • Set your firewall for incoming requests on ports that are used by the Cloud APM server and for outgoing requests that are initiated by the Cloud APM server. Ensure that the ports in Table 1 in Cloud APM server ports are free (no application is listening on them).
  • Disable your firewall by running the following Red Hat Linux® commands:
    
    service iptables stop
    chkconfig iptables off
    For Red Hat Linux version 7.4, disable your firewall by running the following commands:
    
    service firewalld stop
    systemctl disable firewalld
    

What to do next

Install the Cloud APM server and monitoring agents.