I am trying to connect to oracle 10 g databas on my local system. operating system is vista. A using netbeans IDE
I checked tha database name using the following query:
SQL> select name from v$database;
this shows that i am using the correct sid in url.
also the user name and password are correct.
But the error says:
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
can some one help me onthis.