get port from express request code example
Example: express get port from request
const proxyHost = req.headers["x-forwarded-host"];
const host ? proxyHost : req.headers.host;
const proxyHost = req.headers["x-forwarded-host"];
const host ? proxyHost : req.headers.host;