From 126d74336479557a41d74a41c89e0507a82a579b Mon Sep 17 00:00:00 2001 From: maride Date: Tue, 4 Sep 2018 11:09:40 +0200 Subject: Listen on all IPs, not only internal --- src/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/http.go b/src/http.go index c7ad213..91d1c87 100644 --- a/src/http.go +++ b/src/http.go @@ -37,7 +37,7 @@ func runHTTPServer() (error) { r.HandleFunc("/api/stopContainer", stopContainerHandler).Methods("POST") r.HandleFunc("/api/getAccess", getAccessHandler).Methods("GET") - address := fmt.Sprintf(":%d", *port) + address := fmt.Sprintf("0.0.0.0:%d", *port) return http.ListenAndServe(address, r) } -- cgit 1.4.1