繁体   English   中英

如何使用sqlplus或sql开发人员云连接连接到Azure Oracle 12c数据库

[英]How to connect to Azure Oracle 12c Database using sqlplus or sql developer cloud connection

我有2个VM,其中一个是DB服务器,另一个是Web服务器。

我可以获得这些服务器的远程桌面连接,并且Web服务器可以连接到数据库wih

sqlplus user/password@internal_network_ip:port/sid

但是,我无法从本地系统连接到Cloud DB。 我试过了

sqlplus user/password@internal_ip:8552/sid
ORA-12170: TNS:Connect timeout occurred
sqlplus user/password@xxxx.something.net:8552/sid  -- oracle port
ORA-12170: TNS:Connect timeout occurred
sqlplus user/password@xxxx.something.net:54955/sid -- port for cloud system used when taking remote desktop connection
ORA-12547: TNS:lost contact
sqlplus user/password@server_hostname:8552/sid
ORA-12154: TNS:could not resolve the connect identifier specified

但是我无法连接到数据库

我要去哪里错了?

您很可能需要在已部署Oracle DB的云服务上打开一个端点。 我建议您将公共端口设置为默认Oracle端口以外的其他端口。

有关如何创建终结的说明,请参见Azure文档站点

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM