mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
debug from any server
This commit is contained in:
parent
0d6f45cb46
commit
1ff8285d82
|
@ -126,7 +126,7 @@ var cmdFiler = &Command{
|
|||
|
||||
func runFiler(cmd *Command, args []string) bool {
|
||||
if *f.debug {
|
||||
go http.ListenAndServe("localhost:6060", nil)
|
||||
go http.ListenAndServe(":6060", nil)
|
||||
}
|
||||
|
||||
util.LoadConfiguration("security", false)
|
||||
|
|
|
@ -143,7 +143,7 @@ func init() {
|
|||
func runServer(cmd *Command, args []string) bool {
|
||||
|
||||
if *serverOptions.debug {
|
||||
go http.ListenAndServe("localhost:6060", nil)
|
||||
go http.ListenAndServe(":6060", nil)
|
||||
}
|
||||
|
||||
util.LoadConfiguration("security", false)
|
||||
|
|
Loading…
Reference in a new issue