I was trying to run the demo applet JdbcApplet.java for jdbc thin driver using the JDK appletviewer from sun.
The applet came up with the "connection refused" exception on the following line of code:
conn = DriverManager.getConnection (connect_string);
the connect_string had been earlier defined as
static final String connect_string =
1525 is the port listed in /etc/services for orasrv
corvus1 is the sid as per our administrator sqlplus.
I was running the applet on a Win95 PC from a DOS window and trying to connect to an Oracle8 database on an AIX box.
Do I need to grant some specific permissions ?