Page 1 of 1

can't reconnect to local H2 DB after closing VPN connection

PostPosted: Wed Feb 24, 2016 2:09 pm
by goberreuter
Hi all,

I wish to express my gratitude for such a useful tool, thanks DBeaver team!

I have the following situation:
I use the latest version 3.6.0, on Windows 8.1 64 bit, with java 1.8_74 (latest) 64 bit. I have a local H2 file database, and everything works OK. The problem is that I need to work connecting to my work LAN, so I use a VPN. After firing up the VPN, I can still connect to the local H2 file db. But if I close the VPN connection, Dbeaver "remembers" the local IP that was assigned to my PC from the VPN, so when I try to reconnect to the file db, DBeaver gives a time-out connection error, pointint out that it can not connect to the DB, and the error msg shows it tried to connect to the IP I got from the VPN.

I tried closing and opening DBeaver again, and nothing. The only thing that works for now is restaring my pc.

Any ideas? Thanks!

Re: can't reconnect to local H2 DB after closing VPN connect

PostPosted: Sat Feb 27, 2016 9:51 pm
by Serge
Looks like local windows DNS cache. DBeaver has nothing to do with it.
Try executing "ipconfig /flushdns" after VPN disconnect. No other ideas so far..