Friends,
Today, I am away from my work PC. Shall test it by tomorrow.
I already have the ABM app running on a VPS server. Yesterday, I modified the application's code to include webSocket.UpgradeRequest.RemoteAddress
, that could read the public IP of the app user. I was testing the possibilities of capturing the WAN IP of the user on my development PC ie a local PC, though I was connected to the internet while testing.
May be as pointed by
@mindful and
@Daestrum , I should upload it to the VPS server to see the public IP of the user. I assumed that, as I am already connected to the Internet, running the app on a local development PC would also return the my public IP. May be I guessed it wrong. I too feel that, from the VPS, I may get the expected result.
Tomorrow, I shall upload the modified app on to the VPS server and then test it to find out whether the app could identify the users WAN IP.
Shall publish the result here.
Thank you all for pointing out the possible cause.