Recently, Oracle11gR1 was installed on Fedora14. The database can be normally connected from the local machine, but the connection cannot be established from other hosts. Later I found it was the reason for the firewall.
Recently, Oracle 11gR1 was installed on Fedora 14. The database can be normally connected from the local machine, but the connection cannot be established from other hosts. Later I found it was the reason for the firewall.
Recently, Oracle 11gR1 was installed on Fedora 14. The database can be normally connected from the local machine, but the connection cannot be established from other hosts.
Later I found it was the reason for the firewall.
First, run the following command in the terminal: service iptables stop
Then, open the oracle connection Port:
Configure the/etc/sysconfig/iptables File
Vim/etc/sysconfig/iptables
1 # Firewall configuration written by system-config-firewall
2 # Manual customization of this file is not recommended.
3 * filter
4: input accept [0: 0]
5: forward accept [0: 0]
6: output accept [0: 0]
7-a input-m state -- state ESTABLISHED, RELATED-j ACCEPT
8-a input-p icmp-j ACCEPT
9-a input-I lo-j ACCEPT
10-a input-m state -- state NEW-m tcp-p tcp -- dport 22-j ACCEPT
11-a input-m state -- state NEW-m tcp-p tcp -- dport 1521: 1523-j ACCEPT
12 #-a input-j REJECT -- reject-with icmp-host-prohibited
13-a forward-j REJECT -- reject-with icmp-host-prohibited
14 COMMIT
12th Replace the content in the behavior source file with 11 rows.