[英]How to fix oracle TNS - Connection timed out error when connecting to database remotely?
I am trying to connect to oracle database hosted on Linux server remotely from my windows machine and getting error ORA-12170: TNS: Connect Timeout. 我试图从我的Windows机器远程连接到Linux服务器上托管的oracle数据库并收到错误ORA-12170:TNS:连接超时。 I've already checked the following: 我已经检查了以下内容:
If there is no firewall between the client and the target database then you should not normally need to adjust the timeout. 如果客户端和目标数据库之间没有防火墙,那么通常不需要调整超时。 You can try adjusting the sqlnet parameters mentioned in the error message: *Action: If the error occurred because of a slow network or system, // reconfigure one or all of the parameters SQLNET.INBOUND_CONNECT_TIMEOUT, // SQLNET.SEND_TIMEOUT, SQLNET.RECV_TIMEOUT in sqlnet.ora to larger values. 您可以尝试调整错误消息中提到的sqlnet参数:*操作:如果由于网络或系统速度较慢而发生错误,//重新配置一个或所有参数SQLNET.INBOUND_CONNECT_TIMEOUT,// SQLNET.SEND_TIMEOUT,SQLNET.RECV_TIMEOUT在sqlnet.ora中更大的值。 - - However, I think you should ask your network team to trace your connection attempt especially if after increasing the timeout you still get the error. - - 但是,我认为您应该要求您的网络团队跟踪您的连接尝试,尤其是在增加超时后仍然会出现错误。 The full Oracle version in use and the platforms (client and target) may be important. 正在使用的完整Oracle版本和平台(客户端和目标)可能很重要。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.