IOException: Network adapter could not establish the connection [duplicate]

若如初见. 提交于 2019-12-01 18:14:01
Matei Florescu

The error

java.sql.SQLException: Io Exception: The Network Adapter could not establish the connection

has nothing to do with Java/JDBC. This is the error you get when there's something wrong with your network setup. My guess, firewall problem. Can you disable it and see if the error is still there?

edit the connection and test it although your tnsping found!, if use virtualbox (in adapter check permit all), in my case, the error was when i use the ip, instead of use localhost

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!