From bbe081c40b65edcd597cd242c1a1ed4b1d9da6fa Mon Sep 17 00:00:00 2001 From: Angelo Dini Date: Thu, 25 Apr 2024 22:55:35 +0200 Subject: [PATCH] fix: listen to all internal interfaces --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 1bdebdc..c9cd819 100644 --- a/main.go +++ b/main.go @@ -12,5 +12,5 @@ func handler(w http.ResponseWriter, r *http.Request) { func main() { http.HandleFunc("/", handler) - log.Fatal(http.ListenAndServe(":80", nil)) + log.Fatal(http.ListenAndServe("0.0.0.0:80", nil)) }