When you install Oracle database you may need disabling firewall to enable all sessions connection.
If your application and security rules don’t need any firewall then you can disable it with below script.
service iptables stop chkconfig iptables off service ip6tables stop chkconfig ip6tables off
You can disable firewall in Redhat with below script.
systemctl stop firewalld systemctl disable firewalld