Is there a way to get the client's Public IP address in .Net Core Web API application?
I've tried Request.HttpContext.Connection.RemoteIpAddress but it gives the local IP and not Public IP.
and also I've tried getting IP from IPInfo, checkip.. and some more using webrequest but I am getting my server Public IP but not Client Public IP since the request is created from the server.