|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to find Internet IP address from vb.netPlease 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. -- Show quoteHide quoteBryan 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 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 > Where is your client in relation to the web service?
-- Show quoteHide quoteBryan 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 > > 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 >> > > Are you accessing the remote system over the Internet or over a private
WAN link? Which values for ServerVariables have you tried? -- Show quoteHide quoteBryan Phillips MCSD, MCDBA, MCSE Blog: http://bphillips76.spaces.live.com Web Site: http://www.composablesystems.net "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 > >> > > >
Other interesting topics
Error when calling a webservice from a windows service
Two-layered image control SHGetFileInfo ClickOnce Deployment in a Plug-in architecture context Generated Program.cs uses special way of disposing native resource Login window vs Main window How to read Default Values from App.Config for User Settings? Global Variable datagridview multiselect without keyboard ! Forms and labels |
|||||||||||||||||||||||