Skip to content

Commit

Permalink
making localhost to multicast, to serve all incoming requests instead…
Browse files Browse the repository at this point in the history
… of serving only local requests
  • Loading branch information
Ravi Yasakeerthi committed Nov 4, 2021
1 parent 1bcbb58 commit e1c47c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Expand Up @@ -18,7 +18,7 @@ func main() {

s := &http.Server{
Handler: r,
Addr: "127.0.0.1:8000",
Addr: "0.0.0.0:8000",
WriteTimeout: 15 * time.Second,
ReadTimeout: 15 * time.Second,
}
Expand Down

0 comments on commit e1c47c4

Please sign in to comment.