Re: How to find Internet IP address from vb.net

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Where is your client in relation to the web service?

--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
Web Site: http://www.composablesystems.net



"Tim" <Tim@noemailcom> wrote in message news:Ovjh#8ogHHA.1008@xxxxxxxxxxxxxxxxxxxx:

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


"Bryan Phillips" <bphillips@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:e4iYTJggHHA.1216@xxxxxxxxxxxxxxxxxxxxxxx
> 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.
>
> --
> Bryan Phillips
> MCSD, MCDBA, MCSE
> Blog: http://bphillips76.spaces.live.com
> Web Site: http://www.composablesystems.net
>
>
>
> "Tim" <Tim@noemailcom> wrote in message
> news:#CshUmcgHHA.596@xxxxxxxxxxxxxxxxxxxx:
>
>> 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
>

.



Relevant Pages

  • Re: print the current time on the screen
    ... > Bryan Phillips ... > Blog: http://bphillips76.spaces.live.com ... > Web Site: http://www.composablesystems.net ... >> Framework environment. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Forms and labels
    ... > Bryan Phillips ... > Blog: http://bphillips76.spaces.live.com ... > Web Site: http://www.composablesystems.net ... >> Labels. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: minimize window problem
    ... Bryan Phillips ... Blog: http://bphillips76.spaces.live.com ... Web Site: http://www.composablesystems.net ... "SushiSean" wrote in message ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Embedded IE Browser Object Question
    ... You could disable the sound for that event while your program is running. ... Bryan Phillips ... Blog: http://bphillips76.spaces.live.com ... Web Site: http://www.composablesystems.net ...
    (microsoft.public.vsnet.general)
  • Re: Shared Folder
    ... This following link shows how to call the Win32 function NetShareEnum to get list of folders shared on a computer: ... Bryan Phillips ... Blog: http://bphillips76.spaces.live.com ... "Tim" wrote in message ...
    (microsoft.public.dotnet.framework.windowsforms)