This can also happen if the HANSA.HDB is renamed, and the service is started back up. It creates an "empty" HANSA.HDB which is not set up for remote access, and the client gets that message.
I meant that file you were looking it, forgot the actual name sorry about that.
But that file, if you change the IP to the correct one, does it then connect?...