码迷,mamicode.com
首页 > 其他好文 > 详细

监听配置

时间:2017-12-27 15:40:41      阅读:119      评论:0      收藏:0      [点我收藏+]

标签:nec   局域网   ase   外网   ati   11.2   ipc   服务   gen   

# tnsnames.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.

LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST=10.20.81.155)(PORT = 1521))


ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST=10.20.81.155)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)

 

# listener.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST=10.20.81.155)(PORT = 1521))
)
)

ADR_BASE_LISTENER = /home/oracle/app/oracle

 其中host的不能使用localhost或者127.0.0.1或者外网的ip,要使用服务器在其局域网的ip地址,也可使用主机名

监听配置

标签:nec   局域网   ase   外网   ati   11.2   ipc   服务   gen   

原文地址:https://www.cnblogs.com/shurua/p/8125619.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!