I am getting a weird problem,
I have an oracle database on amazon aws
I can connect using sql developer running on a pc but when I try to connect using the same software on a Mac It shows this error:
An error was encountered performing the requested operation:
IO Error: The Network Adapter could not establish the connection
Vendor code 17002
Are you using RDS? Have you checked if this software you're using in your mac takes use of a different port to connect to your db on aws? If that's the case you'll need to add this to your security group from your aws console.
Related
I am trying to connect to a remote Oracle db from my mac using DBeaver.
Dbeaver version I am using is: 5.1.3
I installed the ojdbc6.jar file from the below link:
http://www.oracle.com/technetwork/apps-tech/jdbc-112010-090769.html
as instructed by the DBeaver tool. I added the above file in the driver manager window.
When I try to connect to the database I get the following error(dbeaver-debug.log):
Connection failed (oracle_thin-16161616-16161616)
2018-07-21 13:16:06.749 - org.jkiss.dbeaver.model.exec.DBCException: Connection has timed out
org.jkiss.dbeaver.model.exec.DBCException: Connection has timed out
at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.openConnection(JDBCDataSource.java:157)
at org.jkiss.dbeaver.ext.oracle.model.OracleDataSource.openConnection(OracleDataSource.java:133)
at org.jkiss.dbeaver.model.impl.jdbc.JDBCExecutionContext.connect(JDBCExecutionContext.java:86)
at org.jkiss.dbeaver.model.impl.jdbc.JDBCRemoteInstance.initializeMainContext(JDBCRemoteInstance
If anyone has suggestions as to how I can debug this issue, would be highly appreciated.
Thank you.
Are you able to connect via other tools (like SQL Developer)? if no then please try that as well. There can be multiple reasons for connection timeout. It is also possible that port in remote system is not accessible.
I'm facing this problem while working with SQL Developer:
Status: Failure-Test failed refused the connection with the following error:ORA-12505:
Your database is not configured to listen on a given hostname/port or uses different sid. Use Oracle Net Configuration Assistant to verify that your db is configured correctly
I've installed Oracle client in my machine, when I'm trying to connect to the oracle database server from Oracle SQL Developer am getting the following error:
Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
But am able to connect to the server using sql plus and TOAD as well from my machine. What is the issue if Toad connects to the server why cant my Oracle sql developer could not connect??
checked all the possible solutions like:
tns strings checking, telnet to the server and its port,
changing the oracle home in the sqldeveloper->tools->preferences->database->advanced tab.
None solved my issue. Is this the firewall issue?
If it is so how am able to connect using TOAD/sql plus ??
UPDATE: I'm connecting to the Oracle database server using the VPN.
Any help is much appreciated.
Thanks in advance.
I'm new to working with AWS and RDS. What I'm trying to do is setup an Oracle DB instance on RDS, that part is fine but when I try to connect to it via an application I get various errors. Depending on the application I get a couple of different errors.
[Local computer trying to connect to RDS directly]
LinqPad - Connection Error: Server did not respon within the specified timeout interval. (I get this on both the Direct and OCI connection modes)
SQL Developer - IO Error: The network adapter could not establish the connection.
[EC2 instance in same VPC]
LinqPad - Connection Error: NET: Connection was refused with error ORA-12504
(I get this on both the Direct and OCI connection modes also)
I've done some research and it mostly points that the VPC isn't setup correctly, but I'm able to connect to my EC2 instance fine though.
Oddly enough, I did have one fluke incident where from my local computer it did connect, but as soon as I tried the test again I got more errors.
Any help, or new directions to look would be greatly appreciated.
Will provide more information if needed also. Wasn't sure what to post settings wise. Thanks in advance.
I have a web-application which is reciving the following while trying to connect to a database hosted on another server.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Now, there problem here is that the connection strings, and the server paths area all perfect.
The site run correctly when run via cassini, on my local machine. (Connections strings are correct.)
Other sites hosted on the same server are able to access the databse. (Server paths ara all active.)
While the error says it's been unable to connect, Activity Monitor is aware of the query, and the Server Logs show no error. (Just odd.)
Google & Bing have massively failed with this, so I guess it's time to hit the Stack!
Open the Sql Server Conifguration Manager, expand Sql Server 2005 Network Configuration, click Protocols for <Yourserverinstance>, then check TCP/IP is enabled.