<add name="conn" connectionString="Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=127.1.1.1)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)));User Id=zjw;Password=xxxxxx;" />
远程连接 host更改为192.168.1.xxx SERVICE_NAME改为 “全局数据库名”