oracle jdbc probelm in connectivity

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • manasvi
    New Member
    • Jun 2007
    • 1

    oracle jdbc probelm in connectivity

    hello! m a newbie with connecting oracle to java.
    i get an error .... may b in the connection string

    java.sql.SQLExc eption: Io exception: Connection
    refused(DESCRIP TION=(TMP=)(VSN NUM5295744)(ER R 505)(ERROR_STAC K=(ERROR=(CODE 505)(EMFI=4))))


    i think this mite be due to the different host name or the port number.

    the host string for the sql plus is "oracle" and the port number is 1521.
    even i dnt get a static ip address for my laptop..
    could u please help me? its urgent!

    thnx a lot
  • Motoma
    Recognized Expert Specialist
    • Jan 2007
    • 3236

    #2
    I have moved your question to the Java forum. In the future, please post questions to their relevant forum.

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      Originally posted by manasvi
      hello! m a newbie with connecting oracle to java.
      i get an error .... may b in the connection string

      java.sql.SQLExc eption: Io exception: Connection
      refused(DESCRIP TION=(TMP=)(VSN NUM5295744)(ER R 505)(ERROR_STAC K=(ERROR=(CODE 505)(EMFI=4))))


      i think this mite be due to the different host name or the port number.

      the host string for the sql plus is "oracle" and the port number is 1521.
      even i dnt get a static ip address for my laptop..
      could u please help me? its urgent!

      thnx a lot
      You could use the numeric ip instead of the hostname. Other things to check are
      Is the server started?
      Is there not a firewall between the client and the server?

      Comment

      Working...