It's most likely a firewall between SQL Developer and the database that breaks things. You can solve that from SQL Developer using the SQL Developer Keepalive plugin. https://github.com/scristalli/sql-developer-keepalive