about summary refs log tree commit diff
diff options
context:
space:
mode:
authormaride <maride@darknebu.la>2018-09-04 11:09:40 +0200
committermaride <maride@darknebu.la>2018-09-04 11:09:40 +0200
commit126d74336479557a41d74a41c89e0507a82a579b (patch)
tree90053bf609bb479c852e96c6ddde7caefe4657f5
parente7be7b3a847beddccc324067de6b0bfa24b3ef12 (diff)
Listen on all IPs, not only internal
-rw-r--r--src/http.go2
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)
 }