diff --git a/app/settings/settings.go b/app/settings/settings.go index b9e7928..d124533 100644 --- a/app/settings/settings.go +++ b/app/settings/settings.go @@ -91,6 +91,8 @@ func (s *Settings) Consolidate(conf *config.Config, host *string, port *int, dev log.Debug("parsing config values") if p := conf.Port; p > 0 && p < 65536 { + s.SetPort(conf.Port) + } else { log.Warnf("port '%d', outside of bounds, setting a default of %d/tcp", p, defaultPort) s.SetPort(defaultPort) }