diff options
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | weed/util/net_timeout.go | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -42,6 +42,7 @@ Your support will be really appreciated by me and other supporters! - [SeaweedFS on Slack](https://join.slack.com/t/seaweedfs/shared_invite/enQtMzI4MTMwMjU2MzA3LTEyYzZmZWYzOGQ3MDJlZWMzYmI0OTE4OTJiZjJjODBmMzUxNmYwODg0YjY3MTNlMjBmZDQ1NzQ5NDJhZWI2ZmY) - [SeaweedFS on Twitter](https://twitter.com/SeaweedFS) - [SeaweedFS on Telegram](https://t.me/Seaweedfs) +- [SeaweedFS on Reddit](https://www.reddit.com/r/SeaweedFS/) - [SeaweedFS Mailing List](https://groups.google.com/d/forum/seaweedfs) - [Wiki Documentation](https://github.com/chrislusf/seaweedfs/wiki) - [SeaweedFS White Paper](https://github.com/chrislusf/seaweedfs/wiki/SeaweedFS_Architecture.pdf) diff --git a/weed/util/net_timeout.go b/weed/util/net_timeout.go index abb96c403..21aab30f8 100644 --- a/weed/util/net_timeout.go +++ b/weed/util/net_timeout.go @@ -109,7 +109,7 @@ func NewIpAndLocalListeners(host string, port int, timeout time.Duration) (ipLis WriteTimeout: timeout, } - if host != "localhost" && host != "" && host != "0.0.0.0" && host != "127.0.0.1" { + if host != "localhost" && host != "" && host != "0.0.0.0" && host != "127.0.0.1" && host != "[::]" && host != "[::1]" { listner, err = net.Listen("tcp", JoinHostPort("localhost", port)) if err != nil { return |
