MySQL Enterprise Monitor Can't Be Displayed Using Iptables Firewall: "Failed connect to 127.0.0.1:18443; Connection timed out" (Doc ID 2289994.1)

Last updated on JULY 25, 2017

Applies to:

MySQL Enterprise Monitor - Version 3.3 and later
Information in this document applies to any platform.

Symptoms

MySQL Enterprise Monitor Can't Be Displayed when activate Iptables Firewall:

 

[root@riy10092 data]# curl https://127.0.0.1:18443/
curl: (7) Failed connect to 127.0.0.1:18443; Connection timed out
[root@riy10092 data]# curl https://127.0.0.1:18080/
curl: (7) Failed connect to 127.0.0.1:18080; Connection timed out

 

Changes

iptables firewall is configured to allow 18080 and 18443

Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 state NEW,ESTABLISHED
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:18080
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:18443

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms