IP查询(ipw.cn)IP查询(ipw.cn)
IPv6 网站检测
IPv6 地址查询
IPv6 Ping测试 |
IPv6 DNS解析
IPv6 SSL检查
IPv6 网站测速 |
  • IPv4 地址查询
  • IPv4 Ping测试
  • IPv4 网站测速
  • WHOIS查询
  • 手机号码归属地
  • 网站截图
  • 工具导航
  • 子网计算器
  • 站点推荐

    • AI 域名查询 推荐
    • Verify SSL Certificate
    • YAML在线编辑器
    • Trace Route Online Free
🩸小程序
IPv6 网站检测
IPv6 地址查询
IPv6 Ping测试 |
IPv6 DNS解析
IPv6 SSL检查
IPv6 网站测速 |
  • IPv4 地址查询
  • IPv4 Ping测试
  • IPv4 网站测速
  • WHOIS查询
  • 手机号码归属地
  • 网站截图
  • 工具导航
  • 子网计算器
  • 站点推荐

    • AI 域名查询 推荐
    • Verify SSL Certificate
    • YAML在线编辑器
    • Trace Route Online Free
🩸小程序
  • IPv6工具箱使用文档
  • IPv6 用户端

    • 个人宽带如何开启IPv6网络访问
    • 命令行禁用/启用IPv6本地网络
    • Windows10设置IPv4/v6访问优先级
    • 浏览器访问 IPv6 地址
    • 命令行(curl)获取IPv4和IPv6地址
    • IPv6 DNS 地址列表
    • 全国各省 DNS 服务器列表
    • 国内 IPv6 资源导航
    • 国内纯 IPv6 网站导航
    • 最佳实践

      • 腾讯云自动化添加安全组
      • 阿里云自动化添加安全组
  • IPv6 服务端

    • 腾讯云 cvm 开启 IPv6
    • 网站开启 IPv6 的三种方式
    • Nginx 开启 IPv6
    • 如何确认一个网站是否开启 IPv6
    • 网站增加支持IPv6访问标识
    • 如何为域名添加 IPv6 解析记录
  • IPv6教程

    • IPv6 RFC8200 解读(未完待续)
    • tcpdump 分析 IPv6 包
    • Wireshare 分析 IPv6 包头
    • IPv6 地址标识方法
    • IPv6 Ping 检测原理

原创 浏览器访问 IPv6 地址

在 IPv6 地址两边加上中括号,就可以通过浏览器访问了

  • 浏览器访问
  • Ping IPv6 地址
  • 终端 CURL 访问
    • MacOS
    • Linux
    • curl 指定 IPv6 或 IPv4 访问
  • telnet ipv6 地址
  • IPv6工具箱 小程序 和 iOS App
    • 小程序
    • 苹果 iOS App

浏览器访问

访问 http://[2402:4e00:1013:e500:0:9671:f018:4947]/ ,会返回本机 IPv6 IP地址。

如果有端口,在 IP 地址后面添加端口,比如

http://[2402:4e00:1013:e500:0:9671:f018:4947]:80/

Ping IPv6 地址

6.ipw.cn 域名解析的 AAAA 记录就是上面这个 IPv6 IP。

~$ ping6 6.ipw.cn
PING6(56=40+8+8 bytes) 1111:1111:30c0:9556:b807:e464:1111:1111 --> > 2402:4e00:1013:e500:0:9671:f018:4947
16 bytes from 2402:4e00:1013:e500:0:9671:f018:4947, icmp_seq=0 hlim=52 time=8.748 ms
16 bytes from 2402:4e00:1013:e500:0:9671:f018:4947, icmp_seq=1 hlim=52 time=8.715 ms
16 bytes from 2402:4e00:1013:e500:0:9671:f018:4947, icmp_seq=2 hlim=52 time=8.426 ms
16 bytes from 2402:4e00:1013:e500:0:9671:f018:4947, icmp_seq=3 hlim=52 time=15.139 ms
16 bytes from 2402:4e00:1013:e500:0:9671:f018:4947, icmp_seq=4 hlim=52 time=9.092 ms

终端 CURL 访问

MacOS

curl [2402:4e00:1013:e500:0:9671:f018:4947]
1111:1111:30c0:9556:b807:e464:1111:1111


curl http://[2402:4e00:1013:e500:0:9671:f018:4947]/
1111:1111:30c0:9556:b807:e464:1111:1111

Linux

如果在 Linux 下,还需要增加 -g 参数,否则会提示 curl: (3) [globbing] error: bad range specification after pos。

 -g, --globoff
    his  option  switches off the "URL globbing parser". When you set this option, you can specify URLs that contain the letters {}[] without having them being interpreted by curl itself. Note that these letters are not normal legal URL contents but they should be encoded according to the URI standard.
curl -g http://[2402:4e00:1013:e500:0:9671:f018:4947]/

curl 指定 IPv6 或 IPv4 访问

如果同一个 host 同时解析到 IPv6 和 IPv4 地址,即 IPv4/IPv6 双栈,则 curl 使用参数可指定 IP 协议的版本。

-4, --ipv4

If curl is capable of resolving an address to multiple IP versions (which it is if it is IPv6-capable), this option tells curl to resolve names to IPv4 addresses only.

-6, --ipv6

If curl is capable of resolving an address to multiple IP versions (which it is if it is IPv6-capable), this option tells curl to resolve names to IPv6 addresses only.

比如 test.ipw.cn 同时解析到 IPv4 和 IPv6 地址。

curl -4 test.ipw.cn
106.224.145.147

curl -6 test.ipw.cn
2408:824c:200::2b8b:336f:cc9c

telnet ipv6 地址

telnet -6 2402:4e00:1013:e500:0:940e:29d7:3443 80
Trying 2402:4e00:1013:e500:0:940e:29d7:3443...
Connected to 2402:4e00:1013:e500:0:940e:29d7:3443.
Escape character is '^]'.

IPv6工具箱 小程序 和 iOS App

小程序

微信扫一扫,唤起小程序

IPv6工具箱微信小程序

你也可以复制小程序短链接,发送给任意一个微信好友,在聊天对话框中打开该短链接即可唤起小程序。

#小程序://IPv6工具箱/U1R4edQusuF2zpa

注:如果你觉得这个小程序还不错,欢迎在微信搜一搜中搜索 IPv6工具箱 并给予评价,你的鼓励是本站前进的动力😘!

苹果 iOS App

如果你正在使用 iPhone 打开本站,可点击 IPv6工具箱 快速进入 App Store 下载 App,当然你也可以使用微信扫描下方二维码。

IPv6工具箱 App

注:如果你觉得这个 App 还不错,欢迎在 App Store 轻点评分+评论,你的鼓励是本站前进的动力!😘

访客IP: ,您的网络 访问优先
Prev
Windows10设置IPv4/v6访问优先级
Next
命令行(curl)获取IPv4和IPv6地址