Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

debug from any server

Chris Lu1ff8285d82b7
diff --git a/weed/command/filer.go b/weed/command/filer.go
index eb7078a9d6..0f1e63df63 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -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)
diff --git a/weed/command/server.go b/weed/command/server.go
index 83aa5e84c0..19fe8607b7 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -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)