Get external/public IP address

  • Thread starter Thread starter Mrozu
  • Start date Start date
M

Mrozu

Hi

How I can get external(public) IP address by AxWinSock control?? When I
take

msgbox(axWinsock1.LocalIp) I get 192.168.0.2, because I'm on NAT

Any ideas??

Thx Mrozu
 
Mrozu said:
ooo yes it's good way but what when www.whatsmyip.com stop working??
any independent ideas:>

If you have a CGI script on a web server somewhere, you could query that for
the IP address it sees from you.

Andrew
 
Ok so without use web page i can't get my external ip??:> it is varey
funny i think:)

Mrozu
 
Mrozu said:
Ok so without use web page i can't get my external ip??:> it is varey
funny i think:)

It isn't your external IP: it belongs to the NAT device.

Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top