selinux已经关了,iptables已经关了,
[root@localhost ~]# getenforce
Disabled
[root@localhost ~]# systemctl status iptables.service
iptables.service - IPv4 firewall with iptables
Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled)
Active: inactive (dead)
May 01 23:22:45 localhost.localdomain systemd[1]: Stopped IPv4 firewall with iptables.
[root@localhost ~]#
tns超时
已使用 TNSNAMES 适配器来解析别名
尝试连接 (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.109.199)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
TNS-12535: TNS: 操作超时
最后发现
firewalld没关
[root@localhost ~]# systemctl status firewalld
firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
Active: active (running) since Wed 2017-05-03 04:43:06 EDT; 1min 41s ago
Main PID: 51011 (firewalld)
CGroup: /system.slice/firewalld.service
└─51011 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
May 03 04:43:06 localhost.localdomain systemd[1]: Starting firewalld - dynamic firewall daemon...
May 03 04:43:06 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.
[root@localhost ~]#
关闭firewalld
[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]#