Your Database EM console started, but cannot be accessed remotely

·

After you installed the Oracle 11gR2 on Linux 7 machine, you start the EM console, and can open it from local server web browser (Firefox). But you don’t like it because that’s firefox plus you have to login to server. You believe DB console is an web service, it should be able to be accessed from any device on same network.

But the truth is NO by default. The port number 1158 which used by EM console are blocked by firewall on this Linux 7 box. You have to do following steps to open the port 1158 in order to access EM console from remote machine:

 

Edit /etc/sysconfig/iptables, add one new line to active port 1158:

[root@ol7 sysconfig]# vi iptables
... ... ...
-A INPUT -i lo -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 1158 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-with icmp-host-prohibited

Restart iptables service:

[root@ol7 sysconfig]# service iptables restart

Now you can use following link to remotely access EM Console from you be loved browser.

¶¶¶¶¶

¶¶¶¶¶

¶¶¶¶¶

Leave a comment