Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking for public IP
Message
 
To
26/05/2005 00:38:23
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaysia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01017710
Message ID:
01017719
Views:
19
Hi,

>I would like to check what is the public IP of my network.

The easiest way would be if you have access to an external web server. The web server reports the current IP address in one of the server variables. A web application could do nothing but report your IP address. With AFP 3.0 this would look like this:

<%
? Request.ServerVariables("REMOTE_ADDR")
%>

Many web pages on the web already display the IP address. A quick search on google brought up one example: http://ci.phaseburn.net. Aside from HTTP, you can use any kind of server you want. No matter which one you use, the only way to get the IP address behind a Router is to send a request to the outside and the let the outside party take note of the IP address.
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform