How do I find out what my external IP address is?

后端 未结 13 1141
我寻月下人不归
我寻月下人不归 2020-12-13 04:15

My computers are sitting behind a router/firewall. How do I programmatically find out what my external IP address is. I can use http://www.whatsmyip.org/ for ad-hoc queries,

相关标签:
13条回答
  • 2020-12-13 04:48

    Unfortunately as of 2013, whatismyip.com charge for the service.

    http://www.icanhazip.com is still going strong, 3 years later. Just outputs the IP as text, absolutely nothing else.

    http://checkip.dyndns.org still works as well.

    You can also use Google if you want to be sure it won't go down, but it can still block you for TOS violations.

    https://www.google.ie/search?q=whats+is+my+ip

    But even when they block me, they still tell me my client IP address in the error message.

    0 讨论(0)
提交回复
热议问题