你就照着上面那个实例再写一个就可以了啊
XJPDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = xjpdb)
)
)
TESTWULIU =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.52.24)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = oracle)
)
)
你可以写成两个.
分别用不同的实例名
另外你这种写法,如果真的去连接,连接到那个地址好呢.
不同德IP地址需要配置不同的监听地址 ,监听来自不同实例的请求