“IO 错误:套接字读取超时”是什么意思(SQL 开发人员)

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/26334187/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-01 02:48:15  来源:igfitidea点击:

What does the "IO Error: Socket read timed out" means (SQL developer)

sqloracle-sqldeveloper

提问by Isaac Motaung

When I try to open SQL developer then I am getting this error:

当我尝试打开 SQL developer 时,我收到此错误:

An error was encountered performing the requested operation:
IO Error: Socket read timed out
The Network Adapter could not establish the connection Vendor code 17002

What is the problem?

问题是什么?

采纳答案by Juan

Typical causes for that error:

该错误的典型原因:

  1. Your database listener is not running
  2. It is running, but maybe there is a firewall intervening
  3. It is running, no firewall issue, but you have provided incorrect connection details.
  1. 您的数据库侦听器未运行
  2. 它正在运行,但可能有防火墙干预
  3. 它正在运行,没有防火墙问题,但您提供的连接详细信息不正确。

Source: https://community.oracle.com/thread/3519434

来源:https: //community.oracle.com/thread/3519434

回答by elektrykalAJ

Make sure your installation is on a LOCAL drive!

确保您的安装在本地驱动器上!

If your SQL Developer is launched from a network location (specifically, a different location than your database network location), that couldbe the issue.

如果您的 SQL Developer 是从网络位置(特别是与您的数据库网络位置不同的位置)启动的,那可能就是问题所在。

I was having the same problem and I moved my installation to my local driveand it connected right away :)

我遇到了同样的问题,我将安装移动到本地驱动器,并立即连接:)

回答by A.Muqtadir

Above answers are exact causes but to resolve this:

以上答案是确切原因,但要解决此问题:

Go to server machine and login as root then run:

转到服务器机器并以 root 身份登录,然后运行:

( # xhost + )

Then come to oracle user and run:

然后来到oracle用户并运行:

( $ lsnrctl reload LISTENER_NAME )