From a6b7254a4e362fc6cc28088ba03f3d6cf497b9d5 Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Tue, 12 Feb 2013 09:12:27 -0800 Subject: [PATCH] Make the web UI only accessible on localhost (recommended access is through ssh tunnel) --- dockerd/dockerd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerd/dockerd.go b/dockerd/dockerd.go index 6a02b23231..d362f81ccb 100644 --- a/dockerd/dockerd.go +++ b/dockerd/dockerd.go @@ -736,7 +736,7 @@ func main() { log.Fatal(err) } go func() { - if err := rcli.ListenAndServeHTTP(":8080", d); err != nil { + if err := rcli.ListenAndServeHTTP("127.0.0.1:8080", d); err != nil { log.Fatal(err) } }()