Skip to content

Commit 1a86936

Browse files
committed
fix listening
1 parent 5764f8e commit 1a86936

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/start.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ var startCmd = &cobra.Command{
7070
}
7171
}
7272

73-
err = http.ListenAndServe(fmt.Sprint(":", port), nil)
73+
err = http.ListenAndServe(fmt.Sprintf("0.0.0.0:%d", port), nil)
7474
fmt.Println("bye~")
7575
if err != nil {
7676
panic(err)

0 commit comments

Comments
 (0)