Using sql developer 3.1.x versions, I was constantly getting ‘Io Exception: The Network Adapter could not establish the connection’ (ORA-17002) error. This happens on specifically when connected to certain wired-network (LAN).
Scenario and versions,
– mac OS X 10.7.x (haven’t checked other versions)
– SQL developer 3.1.x
– wired-connection (LAN)
There were 2 work arounds that I found.
1) Connect via wi-fi and use VPN (cisco anyconnect) and then try to connect to the database
2) Use the older “ojdbc6.jar” file. The file that is used to connect to database. The .jar file from older sql developer version 2.1.1.64 works without any errors. So I renamed this .jar file that came with sql developer 3.1.x version and copied the older .jar file in this location. See screenshot below,
Note: To get this file location, right-click on SQLDeveloper.app –> show package contents
I think “option 2” works best for me because I want a stable and faster wired connection at my office. Hope this helps for someone looking for a workaround.

Thanks for sharing this helpful explanation of the SQL Developer ORA-17002 connection error. Network configuration and database connectivity issues can be frustrating, especially when working with development tools. Your experience with the older ojdbc6.jar driver provides a useful workaround for developers facing similar problems. Reliable technology solutions also depend on well-designed digital infrastructure and user-friendly applications. At my DevIT Solutions, a Website Design & Development Company in USA, we understand the importance of building efficient, reliable, and performance-focused digital solutions for modern businesses. Great insights!