Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我尝试使用基本连接类型访问我的 oracle 实例时。它给了我一个错误,告诉我“网络采用者无法建立连接”,但我可以使用 TNS 连接连接到同一个用户。怎么了?我猜这不是我默认的 1521 端口号中的 oracle 实例。
如果你知道 SID 运行 TNSPing util
tnsping sid
它会告诉你这个信息
(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = Windows7)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))