[BUG] OAuth error: Failed to start OAuth callback server: listen EPROTONOSUPPORT: protocol not supported ::1
Resolved 💬 4 comments Opened Oct 14, 2025 by patmaddox Closed Jan 11, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Running /login with "claude account with subscription" method produces:
OAuth error: Failed to start OAuth callback server: listen EPROTONOSUPPORT: protocol not supported ::1
What Should Happen?
It authenticates.
Error Messages/Logs
OAuth error: Failed to start OAuth callback server: listen EPROTONOSUPPORT: protocol not supported ::1
Steps to Reproduce
/login- select "claude account with subscription" method
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
unfortunately I don't know - I only need to /login because my auth expired
Claude Code Version
2.0.14
Platform
Anthropic API
Operating System
Other
Terminal/Shell
Other
Additional Information
This is running in FreeBSD in a jail. It appears to be trying to bind to an ipv6 address (::1). I have used claude code in this same jail for a few months without issue.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗