Skip to content

Commit

Permalink
Use explicit IPv4 localhost address (#480)
Browse files Browse the repository at this point in the history
I always had to pass `--host 127.0.0.1` on Arch Linux, because otherwise
the client would try to connect to the IPv6 `localhost` by default. If
it does not break anything, I'd be happy if we could merge that as it
would significantly reduce friction on my system.
  • Loading branch information
geo2a authored Jan 29, 2024
1 parent f4cc133 commit 0096f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/rpc-client/RpcClient.hs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ parseCommonOptions =
( long "host"
<> short 'h'
<> metavar "HOST"
<> value "localhost"
<> value "127.0.0.1"
<> help "server host to connect to"
<> showDefault
)
Expand Down

0 comments on commit 0096f93

Please sign in to comment.