diff --git a/config/config.go b/config/config.go index 28afdc6..62203a5 100644 --- a/config/config.go +++ b/config/config.go @@ -81,7 +81,7 @@ type Config struct { // DefaultConfig is a configuration that can be used as a fallback value. var DefaultConfig = Config{ - Addr: "127.0.0.1:6881", + Addr: ":6881", Tracker: DriverConfig{ Name: "memory", diff --git a/example.json b/example.json index ddfa196..83e8912 100644 --- a/example.json +++ b/example.json @@ -1,6 +1,6 @@ { "network": "tcp", - "addr": "127.0.0.1:6881", + "addr": ":6881", "tracker": { "driver": "memory"