let opts.host and opts.port work