The network adapter could not establish the connection - Oracle 11g

后端 未结 2 1735
深忆病人
深忆病人 2020-12-01 17:27

I wrote a servlet program and I want it to connect to my Oracle database but its giving me an error. I am using Eclipse Helios, Tomcat 6.0.37, Oracle 11g (11.2.0.1.0), ojdbc

2条回答
  •  余生分开走
    2020-12-01 18:12

    First check your listener is on or off. Go to net manager then Local -> service naming -> orcl. Then change your HOST NAME and put your PC name. Now go to LISTENER and change the HOST and put your PC name.

提交回复
热议问题