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
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.
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?
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
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.
Comment