Database Networking (MOSC)

MOSC Banner

Unable to connect to remote Database.

edited Oct 1, 2015 10:16AM in Database Networking (MOSC) 6 commentsAnswered

Hi,

I have an Oracle 11g database on a Unix box.  The name of the Unix server is cosmos.private.net.

I am trying to access the database from a Windows 2012 R2 server so that i can use PL/SQL Developer to query the data in the database.

I installed the 32 bit version of Instant Client and created a tnsnames.ora in the client directory as follows :

COSMOS

  (DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP)(HOST = cosmos.private.net)(PORT = 1521)

(CONNECT_DATA =

(SERVICE_NAME = cosmos)

   )

)

However, when I try and connect I get an ORA-12560 TNS:Protocol Adapter Error.

I am able to ping the unix server (i.e. cosmos) without any problem.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center