Express Get Port do pedido

const proxyHost = req.headers["x-forwarded-host"];
const host ? proxyHost : req.headers.host;
Old Knight