Can't connect to Oracle server with SQL Developer
I just installed Oracle 11g XE on Oracle Linux 6. I just want to connect to this database from a Windows computer using Oracle SQL Developer. I've set up my Connection in SQL developer as follows:
Username: system
Password: <password>
ConnectionType: Basic
Role: default
Hostname: 192.168.1.104 (the address of the Oracle Linux machine)
Port: 1521
SID: XE
When I click "Test", the error comes up: "IO Error: The Network Adapter could not establish the connection. Vendor code 17002".
Below I have supplied a bunch of relevant information about the Oracle XE server. Please help me to figure out what is wrong. Thanks in advance for any advice you can offer.
-----
lsnrctl service:
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 19-APR-2013 13:50:59
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
The command completed successfully
-----
lsnrctl status:
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 19-APR-2013 13:47:05
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 19-APR-2013 12:22:16
Uptime 0 days 1 hr. 24 min. 48 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/cdata4/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cdata4.valmarc.com)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
-----
listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/xe)
(PROGRAM = extproc)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = cdata4.valmarc.com)(PORT = 1521))
)
)
DEFAULT_SERVICE_LISTENER = (XE)
------
tnsnames.ora
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = cdata4.valmarc.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
-----
Edited by: 1001277 on Apr 19, 2013 6:57 PM
Edited by: 1001277 on Apr 19, 2013 6:58 PM