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.

Pass correct Filer's gRPC port to S3 server. (#4972)

tired-engineer4ed06e9ba535
diff --git a/weed/command/filer.go b/weed/command/filer.go
index 7e636974f4..fe0beb5b89 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -169,7 +169,7 @@ func runFiler(cmd *Command, args []string) bool {
go stats_collect.StartMetricsServer(*f.bindIp, *f.metricsHttpPort)
- filerAddress := util.JoinHostPort(*f.ip, *f.port)
+ filerAddress := pb.NewServerAddress(*f.ip, *f.port, *f.portGrpc).String()
startDelay := time.Duration(2)
if *filerStartS3 {
filerS3Options.filer = &filerAddress