From 6260c0004e631d1e54752ba3bbfd6bb34de5431e Mon Sep 17 00:00:00 2001 From: saji <9110284+kschamplin@users.noreply.github.com> Date: Sat, 27 May 2023 11:30:43 -0500 Subject: [PATCH] fix listen bug --- cmd/gotelem/cli/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gotelem/cli/server.go b/cmd/gotelem/cli/server.go index c844dba..e56a929 100644 --- a/cmd/gotelem/cli/server.go +++ b/cmd/gotelem/cli/server.go @@ -104,7 +104,7 @@ func (r *rpcService) String() string { func (r *rpcService) Start(ctx *cli.Context, broker *gotelem.JBroker, logger *slog.Logger) error { // TODO: extract port/ip from cli context. - ln, err := net.Listen("tcp", ":8082") + ln, err := net.Listen("tcp", "0.0.0.0:8082") if err != nil { logger.Warn("error listening", "err", err) return err