Express Get Port dari permintaan

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