We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72a369f commit c9528b5Copy full SHA for c9528b5
server/start.go
@@ -250,11 +250,11 @@ which accepts a path for the resulting pprof file.
250
}
251
252
func parseGrpcAddress(address string) (string, error) {
253
- _, port, err := net.SplitHostPort(address)
+ host, port, err := net.SplitHostPort(address)
254
if err != nil {
255
return "", errorsmod.Wrapf(err, "invalid grpc address %s", address)
256
257
- return fmt.Sprintf("127.0.0.1:%s", port), nil
+ return fmt.Sprintf("%s:%s", host, port), nil
258
259
260
// startStandAlone starts an ABCI server in stand-alone mode.
0 commit comments