473,320 Members | 1,993 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Get External IP of your machine

Kevinyy
77
How can i get the external ip of my local machine (not the local address) without parsing it from a site/using a site; ex: whatismyip.com.
-is this possible?
C#.net 2.2
Aug 14 '08 #1
6 1318
Curtis Rutland
3,256 Expert 2GB
Not really, no. Although it is very easy to do the whatismyip thing, because they have an automation page. There is nothing to parse, the only response is the ip address text.
Aug 14 '08 #2
Kevinyy
77
Not really, no. Although it is very easy to do the whatismyip thing, because they have an automation page. There is nothing to parse, the only response is the ip address text.
Just checking, is this what businesses do to achieve this? or something similar on their own servers?
Aug 14 '08 #3
Plater
7,872 Expert 4TB
I would assume a serious business would know what their IP address was and it would be static.

If you are using a home-use router, it probably has UPnP enabled and you might be able to request information from that?
Aug 14 '08 #4
Curtis Rutland
3,256 Expert 2GB
Businesses tend to have Static IPs. You buy them from the ISP and they don't change.
Aug 14 '08 #5
Kevinyy
77
I would assume a serious business would know what their IP address was and it would be static.

If you are using a home-use router, it probably has UPnP enabled and you might be able to request information from that?
well i mean for a quick example: Teamspeak server, it tells you your local ip, and external ip - do you think that uses an outside source? ie: whatismyip

- i have the get ip from the whatismyip automation working nicely
Aug 14 '08 #6
Curtis Rutland
3,256 Expert 2GB
Teamspeak probably uses it's own server. It's outside your network, so it sees your external IP. Your internal components (except your router) don't know what their external is.
Aug 14 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Kathy Benson | last post by:
Hi, I need to open an external file, such as *.htm from a Java program. I need to open this file by the default program that handles this extension on the machine. So *.htm should always be opened...
1
by: Von Shean | last post by:
I need to send ".mht" files to different recipients. I have saved .mht files using CDO. Now i have to send it across.. I have two options both have different types of problems Using CDO I...
3
by: Guadala Harry | last post by:
Is it possible to view the contents of an external CSS style sheet that is referenced from any web page being viewed in the browser (IE6)? If so how? The css file physically lives on the server,...
6
by: Charles Law | last post by:
Suppose my application is running on a client machine, and they report an intermittent problem. It only occurs after the program has been running for a while, and then occasionally fails to perform...
2
by: Rossco | last post by:
I have a VB.NET serviced component (COM+), running on a lan, that calls out to an external web service to place an order with a supplier. The problem machine is the middle tier (COM+) for our in...
5
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As...
1
by: danknauf | last post by:
I have a webserver which is behaving strangely. The server is a fresh copy of Windows 2003 running IIS with default options + Active Server Pages installed. The server is connected to a Linksys...
2
by: =?iso-8859-1?B?VHNjaHXf?= | last post by:
Hi, I have my own database on a server and the same database on local. I want to copy all my database from the main server to my local host (I execute this code from my PC and not my main...
2
by: eliezerchoo | last post by:
Hello, I was successfully created a C# network internal loopback test in same machine (1 PC). My program consisted of client and server. It's can do the internal loopback with IP 127.0.0.1 when run...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.