Permalink
Browse files

Prefer 127.0.0.1 over localhost for connecting to a SSH tunnel. Proba…

…bly fixes issue #381.
  • Loading branch information...
ansgarbecker committed Oct 31, 2018
1 parent c749c06 commit f5e575e6b8f0f4bba966ca830dcd89057c042a91
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/dbconnection.pas
@@ -1687,7 +1687,7 @@ procedure TMySQLConnection.SetActive( Value: Boolean );
// Create plink.exe process
FPlink := TPlink.Create(Self);
FPlink.Connect;
FinalHost := 'localhost';
FinalHost := '127.0.0.1';
FinalPort := FParameters.SSHLocalPort;
end;
end;

0 comments on commit f5e575e

Please sign in to comment.