3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Claude Code + wslでAPIがタイムアウトになるのを治す

Posted at

スクリーンショット 2025-05-28 000134.png

解決策

  1. ipv6を無効にする

sysctlで無効化
/etc/sysctl.conf の末尾に以下を追記

net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.lo.disable_ipv6=1

  1. 設定を反映

sudo sysctl -p

  1. ipv6無効化を確かめる

ip a

出力結果に「inet6」の行(IPv6アドレス)が表示されていなければ、IPv6は無効化されています

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?