How to find Internet IP address from vb.net

  • Thread starter Thread starter Tim
  • Start date Start date
T

Tim

Please give me some advices.
I know how to find my machine IP address, but don't know how to find
Internet IP.

Please help me.
Thanks, Tim
 
You will need to call something that is on the Internet (like a web
server) that can see your public IP address.

If your firewall has an API that you can program against, that would be
an option too.
 
Thanks Bryan for the reply.

That's what I was trying earlier.
I created a web service to get the WAN/External IP Address, I was getting
only the local IP address, not the WAN IP address.
I tried all the ServerVariables, including
Me.Context.Request.ServerVariables("HTTP_X_FORWARDED_FOR") but no success.

Is there anything special do I have to do to get the IP information.

Thanks, Tim
 
I tested it from my own machine and also from another system which is way
far away from here.
And the web server is located in some other location..

Did I answer your question>

Thanks Bryan.
Tim
 
Back
Top