in asp.net I can get remote port from HttpContext.Request.ServerVariables["REMOTE_PORT"].
but Request.ServerVariables was disappeared from Asp.Net core.
how to get remote port ??
in asp.net I can get remote port from HttpContext.Request.ServerVariables["REMOTE_PORT"].
but Request.ServerVariables was disappeared from Asp.Net core.
how to get remote port ??