Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

http://127.0.0.1:8081/apex doesn't work after tnsnames listener.ora changes

556101Jan 18 2007
Installed Oracle 10g XE on my notebook running linux. Because the IP address and hostname is assigned dynamically from my cable broadband provider, I edited both $ORACLE_HOME/server/network/admin/listener.ora and $ORACLE_HOME/server/network/admin/tnsnames.ora so that any reference to the dynamic hostname refers to 127.0.0.1 instead, as shown below.

However, after these changes, and restarting via /etc/init.d/oracle-xe stop and then start, nothing is listening on port 8081 anymore ( port 8081 is the port I have set in /etc/sysconfig/oracle-xe
for the HTTP_PORT variable ).

What to do to get back HTTP port 8081 ??

tnsnames.ora
======================================
# tnsnames.ora Network Configuration File:

XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(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)
)
)



listener.ora
======================================
# listener.ora Network Configuration File:

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
(PROGRAM = extproc)
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
)
)

DEFAULT_SERVICE_LISTENER = (XE)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 15 2007
Added on Jan 18 2007
0 comments
2,600 views