在笔记本上装了个oracle database 11g, 本来是连接了有线网,后来连接无线网时一直显示网络错误,解决办法如下
修改listener.ora文件的host
# listener.ora Network Configuration File: D:\app\Dong\product\11.1.0\db_2\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.25.147.217)(PORT = 1521))
)
)