should we default a port here if `!(config || config.port)`