今天同事连我的电脑死活连不上,还问我监听开没开,最后是因为监听没有配,
解决文档1.修改文件G:\app\eric\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora文件
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.106)(PORT = 1521))
)
)在listener中的address中加一个你的ip开头的address
2,重启你的Oracle的OracleOraDb11g_home1TNSListener服务