diff options
-rw-r--r-- | src/http.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) } |