From f5e575e6b8f0f4bba966ca830dcd89057c042a91 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Wed, 31 Oct 2018 08:09:58 +0100 Subject: [PATCH] Prefer 127.0.0.1 over localhost for connecting to a SSH tunnel. Probably fixes issue #381. --- source/dbconnection.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dbconnection.pas b/source/dbconnection.pas index 4c4142ef..043520a7 100644 --- a/source/dbconnection.pas +++ b/source/dbconnection.pas @@ -1687,7 +1687,7 @@ begin // Create plink.exe process FPlink := TPlink.Create(Self); FPlink.Connect; - FinalHost := 'localhost'; + FinalHost := '127.0.0.1'; FinalPort := FParameters.SSHLocalPort; end; end;