Your Connection

IP Address 216.73.216.53
Remote Host
User AgentMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Port47393
Language
Referer
Connectionclose
KeepAlive
MethodGET
Encodinggzip, br, zstd, deflate
MIME Type*/*
Charset
Via
X-Forwarded-For

Command Line Interface

$ curl https://ifconfig.tw⇒216.73.216.53
$ curl https://ifconfig.tw/ip⇒216.73.216.53
$ curl https://ifconfig.tw/host⇒
$ curl https://ifconfig.tw/ua⇒Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
$ curl https://ifconfig.tw/port⇒47393
$ curl https://ifconfig.tw/lang⇒
$ curl https://ifconfig.tw/keepalive⇒
$ curl https://ifconfig.tw/connection⇒close
$ curl https://ifconfig.tw/encoding⇒gzip, br, zstd, deflate
$ curl https://ifconfig.tw/mime⇒*/*
$ curl https://ifconfig.tw/charset⇒
$ curl https://ifconfig.tw/via⇒
$ curl https://ifconfig.tw/forwarded⇒
$ curl https://ifconfig.tw/all⇒ip_addr: 216.73.216.53
remote_host:
user_agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
port: 47393
lang:
connection: close
keep_alive:
encoding: gzip, br, zstd, deflate
mime: */*
charset:
via:
forwarded:
$ curl https://ifconfig.tw/all.xml⇒
<info>
  <ip_addr>216.73.216.53</ip_addr>
  <remote_host></remote_host>
  <user_agent>Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)</user_agent>
  <port>47393</port>
  <lang></lang>
  <connection>close</connection>
  <keep_alive></keep_alive>
  <encoding>gzip, br, zstd, deflate</encoding>
  <mime>*/*</mime>
  <charset></charset>
  <via></via>
  <forwarded></forwarded>
  <method>GET</method>
  <referer></referer>
  <email>admin@ifconfig.tw</email>
</info>
$ curl https://ifconfig.tw/all.json⇒
{"ip_addr":"216.73.216.53","remote_host":"","user_agent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","port":"47393","lang":"","connection":"close","keep_alive":"","encoding":"gzip, br, zstd, deflate","mime":"*/*","charset":"","via":"","forwarded":"","method":"GET","referer":"","email":"admin@ifconfig.tw"}

About this tool

ifconfig.tw is a public IP and HTTP connection checker. Use it to see the address presented by your connection, check whether a VPN changes that address, or inspect the headers a client sends. The public address may belong to a router, VPN or shared network rather than an individual device.

IPv4 and IPv6

Your browser shows the address family used for this particular connection. A network can have both IPv4 and IPv6 addresses. To check each separately with curl, use:

curl -4 https://ifconfig.tw/ip
curl -6 https://ifconfig.tw/ip

An IPv6-only check requires working IPv6 connectivity; an unsuccessful request does not prove your device has no IPv6 address.

Proxies and iCloud Private Relay

This service reports the address that reaches our server. A VPN, HTTP proxy or iCloud Private Relay can replace your network's address with a relay exit address. On supported Apple devices, Private Relay can forward unencrypted HTTP app traffic. Using curl -4 controls curl's connection, but a relay can choose a different address family for its connection to the website.

For command-line checks, use HTTPS. You can also select an address-family-specific hostname:

curl -4 https://ifconfig.tw/ip
curl https://v4.ifconfig.tw/ip
curl -6 https://v6.ifconfig.tw/ip

The v6 endpoint requires working IPv6 connectivity. IPv4 requests receive HTTP 421 with instructions instead of an IPv4 result. The v4 endpoint has only an A record; the v6 endpoint has only an AAAA record.

A proxy or VPN may still affect the address you see. The service cannot recover an original address that a privacy relay does not disclose.

Remote Host and Port

Remote Host is a reverse DNS name associated with the public IP address. It may be empty when no name can be found, and it does not identify a person's physical location. Port is the source port seen by the service, which may be changed by a router or VPN.

Request headers

User Agent describes the client software. MIME Type shows the client's Accept header, which lists response formats it can accept. Language shows Accept-Language. These values are supplied by the client and can be changed, so they should not be treated as proof of identity.

Using the API

Use /ip for a plain IP address, /all for text fields, /all.json for JSON, or /all.xml for XML. JSON and XML use fields such as ip_addr and remote_host. Add ?format=legacy to the JSON or XML URL if you need the older field names. The API endpoints are suitable for command-line tools and contain no advertising scripts.

Privacy & advertising · Contact