Home All Groups Group Topic Archive Search About

How to find Internet IP address from vb.net

Author
18 Apr 2007 2:55 PM
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
Author
18 Apr 2007 9:40 PM
Bryan Phillips
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



Show quoteHide quote
"Tim" <Tim@noemailcom> wrote in message
news:#CshUmcgHHA.596@TK2MSFTNGP05.phx.gbl:

> 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
Are all your drivers up to date? click for free checkup

Author
19 Apr 2007 2:30 PM
Tim
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


Show quoteHide quote
"Bryan Phillips" <bphillips@nospam.spamcop.net.spammenot> wrote in message
news:e4iYTJggHHA.1216@TK2MSFTNGP03.phx.gbl...
> 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@TK2MSFTNGP05.phx.gbl:
>
>> 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
>
Author
20 Apr 2007 1:14 AM
Bryan Phillips
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



Show quoteHide quote
"Tim" <Tim@noemailcom> wrote in message
news:Ovjh#8ogHHA.1008@TK2MSFTNGP05.phx.gbl:

> 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@nospam.spamcop.net.spammenot> wrote in message
> news:e4iYTJggHHA.1216@TK2MSFTNGP03.phx.gbl...
> > 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@TK2MSFTNGP05.phx.gbl:
> >
> >> 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
> >
Author
20 Apr 2007 3:31 PM
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

Show quoteHide quote
"Bryan Phillips" <bphillips@nospam.spamcop.net.spammenot> wrote in message
news:uZmwplugHHA.1240@TK2MSFTNGP04.phx.gbl...
> 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@TK2MSFTNGP05.phx.gbl:
>
>> 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@nospam.spamcop.net.spammenot> wrote in
>> message
>> news:e4iYTJggHHA.1216@TK2MSFTNGP03.phx.gbl...
>> > 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@TK2MSFTNGP05.phx.gbl:
>> >
>> >> 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
>> >
>
Author
23 Apr 2007 8:04 PM
Bryan Phillips
Are you accessing the remote system over the Internet or over a private
WAN link?

Which values for ServerVariables have you tried?

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



Show quoteHide quote
"Tim" <Tim@noemailcom> wrote in message
news:O#gj4D2gHHA.4416@TK2MSFTNGP03.phx.gbl:

> 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
>
> "Bryan Phillips" <bphillips@nospam.spamcop.net.spammenot> wrote in message
> news:uZmwplugHHA.1240@TK2MSFTNGP04.phx.gbl...
> > 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@TK2MSFTNGP05.phx.gbl:
> >
> >> 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@nospam.spamcop.net.spammenot> wrote in
> >> message
> >> news:e4iYTJggHHA.1216@TK2MSFTNGP03.phx.gbl...
> >> > 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@TK2MSFTNGP05.phx.gbl:
> >> >
> >> >> 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
> >> >
> >

Bookmark and Share