Skip to content

Commit

Permalink
Prefer 127.0.0.1 over localhost for connecting to a SSH tunnel. Proba…
Browse files Browse the repository at this point in the history
…bly fixes issue #381.
  • Loading branch information
ansgarbecker committed Oct 31, 2018
1 parent c749c06 commit f5e575e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/dbconnection.pas
Expand Up @@ -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;
Expand Down

0 comments on commit f5e575e

Please sign in to comment.