设置本地hosts文件 C:\Windows\System32\drivers\etc\hosts 添加内容: 127.0.0.1 localhost 重启OracleOraDb11g_home1TNSListener服务 再重新连接