Skip to content

Commit

Permalink
Run on 0.0.0.0 instead of localhost (#19) (#21)
Browse files Browse the repository at this point in the history
Co-authored-by: Thom Shutt <thomshutt@users.noreply.github.com>
  • Loading branch information
victorges and thomshutt committed Aug 12, 2022
1 parent 1587960 commit a343a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/http-server/http-server.go
Expand Up @@ -32,7 +32,7 @@ func main() {
TriggerCallback: fmt.Sprintf("http://localhost:%d/api/mist/trigger", *port),
}

listen := fmt.Sprintf("localhost:%d", *port)
listen := fmt.Sprintf("0.0.0.0:%d", *port)
router := StartCatalystAPIRouter(mc)

stdlog.Println("Starting Catalyst API version", config.Version, "listening on", listen)
Expand Down

0 comments on commit a343a5f

Please sign in to comment.