设置oracle服务器后,我发现可以使用
连接到oraclesqlplus64 user/pass@//192.168.23.14/testsid
服务器192.168.23.15中的
但我不能在172.26.142.33(我的本地电脑地址)
上使用sqlplus我检查了端口,实际上我可以
telnet 192.168.23.14 1521
在这里,我列出了我的服务器信息: 操作系统:Ubuntu 14.04LTS
[oracle@2404f0da2a14 ~]$ lsnrctl status
LSNRCTL for Linux: Version 12.1.0.1.0 - Production on 18-JAN-2015 06:25:06
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 12.1.0.1.0 - Production
Start Date 18-JAN-2015 04:48:59
Uptime 0 days 1 hr. 36 min. 6 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/oracle/product/12.1.0/dbhome_1/network/admin/listener.ora
Listener Log File /opt/oracle/diag/tnslsnr/2404f0da2a14/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521)))
Services Summary...
Service "testsid" has 1 instance(s).
Instance "testsid", status READY, has 1 handler(s) for this service...
Service "testsidXDB" has 1 instance(s).
Instance "testsid", status READY, has 1 handler(s) for this service...
The command completed successfully
我还检查了sqlnet.ora
# sqlnet.ora Network Configuration File: /opt/oracle/product/12.1.0/dbhome_1/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
似乎没有限制。
可能出现的问题是什么?谢谢。