SQL Developer - The Network Adapter could not establish the connection

This is my first time connecting to an Oracle server. I'm using SQL Developer. They only gave me an IP, the default port (1521), a user name and a password. So I filled them in in the "New / Select Database Connection" dialog. When pressing "Test", I wait for a while, then I get the following:

Status: Failure -Test failed: IO Error: The Network Adapter could not establish the connection

It's possible I don't know what information to ask more from them or they are sending me incomplete information. The first time I asked they only sent me credentials, and when I asked for their server's host, they provided me with a LAN IP (192.168...) when they should know I'm not accessing it from inside their network.

They also sent a "Database name" which I then tried filling in as well (in the "Service name" field, then as the SID, thinking that might be the missing piece, but I always get the same error.

EDIT: I asked them to allow public access from my IP through their firewall, but maybe they didn't understand what I asked, or I'm doing something wrong.

How should I request access from them so that they send me something I can use to connect to their Oracle server? Or how can I troubleshoot / verify access?

0
задан 18 April 2018 в 18:58
1 ответ

Ошибка Сетевому адаптеру не удалось установить соединение , вероятно, у вас нет подключения к этому TCP-порту. Подтвердите с помощью:

telnet   1.2.3.4    1521

Если экран ожидает вашего ввода, вы подключились. Это означает, что уровень TCP работает. В противном случае telnet выдаст ошибку. В более новых системах Linux вы также можете использовать nc -v в том же духе.

Боковое примечание 1. Если их администраторы баз данных прислали вам «Имя базы данных», это означает, что они не понимают, что все идет слишком хорошо (на самом базовом уровне). Они должны сообщить вам либо SID, либо имя службы (обычно это не одно и то же, хотя некоторые люди устанавливают для него одинаковое значение).

Боковое примечание 2: Когда TCP начнет работать, сообщение об ошибке, скорее всего, станет «не знаю» о сервисе X ». Это означает, что нет такого SID или такого имени службы (или несоответствия между ними). ​​

0
ответ дан 5 December 2019 в 06:10

Теги

Похожие вопросы