From a36152260d5f7195c79d0b9c549647d201c916fd Mon Sep 17 00:00:00 2001 From: jotangen <jotangen86@gmail.com> Date: Sun, 20 Oct 2019 11:58:51 +0200 Subject: [PATCH] added 0.0.0.0 to listenAndServe --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index fba2735..c79ca46 100644 --- a/main.go +++ b/main.go @@ -107,5 +107,5 @@ func main() { //LiAnSe listens on TCP net addr, calls serve with handler (nil) // -to handle req on incoming connections, if accept it keeps TCP alive - log.Fatal(http.ListenAndServe(":"+port, nil)) + log.Fatal(http.ListenAndServe("0.0.0.0:"+port, nil)) } -- GitLab