瀏覽代碼

listen on all ips

Darien Raymond 8 年之前
父節點
當前提交
bf64c449de
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main/distro/debug/debug.go

+ 1 - 1
main/distro/debug/debug.go

@@ -5,6 +5,6 @@ import "net/http"
 
 func init() {
 	go func() {
-		http.ListenAndServe("localhost:6060", nil)
+		http.ListenAndServe(":6060", nil)
 	}()
 }