{"slug": "tell-hn-claude-code-refuses-to-login-to-any-website-not-running-on-localhost", "title": "Tell HN: Claude Code refuses to login to any website not running on localhost", "summary": "A Hacker News user posting as xeonax reported that Claude Code refused to log in to any website not running on localhost, blocking testing of work items on a test environment. The user said the behavior appeared in both Opus 5.5 and Opus 4.8, and described it as a regression on Opus 4.8, which had previously worked for the same task.", "body_md": "| [Consider applying for YC's Winter 2027 batch! __Applications__ are open till November 2.](https://www.ycombinator.com/apply/)[Guidelines](newsguidelines.html) \\|[FAQ](newsfaq.html) \\|[Lists](lists) \\|[API](https://github.com/HackerNews/API) \\|[Security](security.html) \\|[Legal](https://www.ycombinator.com/legal/) \\|[Apply to YC](https://www.ycombinator.com/apply/) \\|[Contact](mailto:hn@ycombinator.com) | \n\n|  | **[Hacker News](news)**[new](newest) \\|[past](front) \\|[comments](newcomments) \\|[ask](ask) \\|[show](show) \\|[jobs](jobs) \\|[submit](submit) | [login](login?goto=item%3Fid%3D49964064) | \n\n|  |  | [Tell HN: Claude Code refuses to login to any website not running on localhost](item?id=49964064) | \n|  |  | 1 point by [xeonax](user?id=xeonax)[11 minutes ago](item?id=49964064) \\|[hide](hide?id=49964064&goto=item%3Fid%3D49964064) \\|[past](https://hn.algolia.com/?query=Tell%20HN%3A%20Claude%20Code%20refuses%20to%20login%20to%20any%20website%20not%20running%20on%20localhost&type=story&dateRange=all&sort=byDate&storyText=false&prefix&page=0) \\|[favorite](fave?id=49964064&auth=083ecfed7d040779bb357ec3af8ded583b3877cf) \\|[discuss](item?id=49964064) | \n|  |  | I have been using claude to test my workitems, the issues needs to be tested on test environment. It used to work before. But today Opus 5.5 and Opus 4.8 both refused. I would say this is nerf on 4.8 where it used to work before. |", "url": "https://wpnews.pro/news/tell-hn-claude-code-refuses-to-login-to-any-website-not-running-on-localhost", "canonical_source": "https://news.ycombinator.com/item?id=49964064", "published_at": "2026-10-05 12:38:01+00:00", "updated_at": "2026-10-05 12:49:19.932377+00:00", "lang": "en", "topics": ["ai-agents", "ai-safety", "ai-products"], "entities": ["Claude Code", "Anthropic", "Opus 5.5", "Opus 4.8", "Hacker News", "xeonax"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/tell-hn-claude-code-refuses-to-login-to-any-website-not-running-on-localhost", "markdown": "https://wpnews.pro/news/tell-hn-claude-code-refuses-to-login-to-any-website-not-running-on-localhost.md", "text": "https://wpnews.pro/news/tell-hn-claude-code-refuses-to-login-to-any-website-not-running-on-localhost.txt", "jsonld": "https://wpnews.pro/news/tell-hn-claude-code-refuses-to-login-to-any-website-not-running-on-localhost.jsonld"}}