[SOLVED] How to disable firewall in Oracle Linux 7.5?

Issue

I installed Oracle E-Business Suite Release 12.2 in Virtualbox VM, but wasn't able to connect to its front-end from Windows host. After investigation I found that Oracle Linux firewall was open and it was blocking port 8000.

I issued the following command to find its status:

[root@localhost ~]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2018-09-02 15:07:31 PDT; 1h 30min ago
Docs: man:firewalld(1)
Main PID: 788 (firewalld)
CGroup: /system.slice/firewalld.service
└─788 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
Sep 02 15:07:26 localhost.localdomain systemd[1]: Starting firewalld - dynamic firewall daemon...
Sep 02 15:07:31 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.

Solution

How to temporarily disable the firewall (until next reboot)?

[root@localhost ~]# service firewalld stop
Redirecting to /bin/systemctl stop firewalld.service


Now check the status of firewall"

[root@localhost ~]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:firewalld(1)
Sep 02 15:07:26 localhost.localdomain systemd[1]: Starting firewalld - dynamic firewall daemon...
Sep 02 15:07:31 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.
Sep 02 16:40:36 localhost.localdomain systemd[1]: Stopping firewalld - dynamic firewall daemon...
Sep 02 16:40:38 localhost.localdomain systemd[1]: Stopped firewalld - dynamic firewall daemon.

How to permenantly disable a firewall (such that it is disabled even after reboot)?

[root@localhost ~]# systemctl disable firewalld
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.

​After I disabled the firewall, I could manage to get the login page of Oracle E-Business Suite Release 12.2 instance.

Environment

+ Oracle Linux 7.5

+ Oracle E-Business Suite Release 12.2


Oracle Linux 7.5 Firewall Disabled
[SOLVED] ApplicationLogManager is not installed, m...
[SOLVED] How to delete a logical volume and resize...