On 14/11/2025 17:38, Maurizio Alfani wrote:
> Hi.
> I use DBeaver 25.2.4.
> I open my network DB on 192.XXX.XXX.XXX: trying to execute a SQL block
> containing the execute statement on a external db results in error
> message like "unavailable database" or "Unable to complete network
> request to host "localhost"
> The external db is on disk "C:" of my PC.
In an execute block, localhost points to the server host you're
currently connected to, so if 192.XXX.XXX.XXX is a different host than
*your* PC, it will not work as you expect.
> Could someone point me in the right direction?
Use the hostname or external IP address of your machine, assuming it's
even accessible from 192.XXX.XXX.XXX.
Mark
--
Mark Rotteveel