Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

This question came from our site for professional and enthusiast programmers.

Can you paste the TNS description. Seems, you connect to the database from your laptop itself.ORA-12545 probably mean, the host (ip specified in ur connection details) is invalid.
–
OracleUserFeb 7 '14 at 17:02

did you try tnsping?
–
OldProgrammerFeb 7 '14 at 19:19

1

Are you trying to connect to an existing database, or are you assuming the installer created one for you?
–
tblPhilFeb 8 '14 at 8:31

1 Answer
1

Make sure you have a network connection that is listening on a public IP.

Then make sure it is reachable. Unless you like totally outdated windows versions your computer has a firewall that will kill all incoming traffic unless told not to.

It also helps to read. As per your tnsnames.ora....

(HOST=localhost)

Ah, so - the other computer tries to reach a database on localhost, which is himself, not your laptop? Now that will not work... per definition. I suggest changing the tnsnames.ora file to something - sensible.