Express Get Port desde la solicitud
const proxyHost = req.headers["x-forwarded-host"];
const host ? proxyHost : req.headers.host;
Old Knight
const proxyHost = req.headers["x-forwarded-host"];
const host ? proxyHost : req.headers.host;