From b94b62c57c6af7d7668edbadfd5ebae96f9ac6ad Mon Sep 17 00:00:00 2001 From: Falko Habel Date: Mon, 27 May 2024 11:41:28 +0200 Subject: [PATCH] added correct port --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 6455ca3..4581e26 100644 --- a/main.go +++ b/main.go @@ -219,9 +219,9 @@ func main() { // Define the HTTP handler function http.HandleFunc("/", handleRequest) // This ensures all requests are routed to handleRequest - // Define the port and ensure listening on localhost only + // Define the port port := "53184" - address := fmt.Sprintf("localhost:%s", port) // Listen on localhost interface only + address := fmt.Sprintf("0.0.0.0:%s", port) // Start the HTTP server fmt.Printf("Listening on %s...\n", address)