# Clarification: My login issue was caused by leftover Clash proxy environment variables (not Cursor/IP block)

**URL:** <https://forum.cursor.com/t/clarification-my-login-issue-was-caused-by-leftover-clash-proxy-environment-variables-not-cursor-ip-block/179033>\
**Category:** Guides\
**Tags:** windows, login, networking\
**Created:** [November 23, 2026, 2:07am UTC](https://forum.cursor.com/t/clarification-my-login-issue-was-caused-by-leftover-clash-proxy-environment-variables-not-cursor-ip-block/179033 "2026-11-23T02:07:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![1163433011](https://avatars.discourse-cdn.com/v4/letter/1/eb8c5e/32.png) [@1163433011](https://forum.cursor.com/u/1163433011)\
**Post date:** [November 23, 2026, 2:07am UTC](https://forum.cursor.com/t/clarification-my-login-issue-was-caused-by-leftover-clash-proxy-environment-variables-not-cursor-ip-block/179033/1 "2026-11-23T02:07:56Z")

</div>

I’m posting this to clarify my earlier report. I was unable to log in to Cursor previously, and I initially assumed the issue was caused by regional restrictions, Cloudflare blocks or account policies on Cursor’s side. After troubleshooting and following hints from the official Cursor support ticket logs, I confirmed this was entirely caused by leftover configuration on my local environment, and it has nothing to do with Cursor’s backend service.

Root cause: I had used Clash before. The uninstaller failed to clean up proxy environment variables automatically, leaving `HTTP_PROXY=127.0.0.1:7897` in the system. Cursor is built on Electron (Chromium). It reads proxy settings in this priority order: environment variables \> Windows system proxy settings. Even when the Windows proxy panel was turned off and all proxy registry entries were cleared, Cursor kept forwarding its login traffic to this local port, resulting in connection failures.

Fix steps:

1. Open environment variable settings and delete `HTTP_PROXY`, `HTTPS_PROXY` and `ALL_PROXY` from both user variables and system variables.
2. Close all Cursor-related processes and delete the `%APPDATA%\Cursor` cache folder.
3. **Restart your computer after removing the environment variables.**
4. Relaunch Cursor, and login works normally.

A tip for anyone facing the same issue: If your logs show repeated attempts to connect to `127.0.0.1:7897`, check your environment variables first. Do not immediately assume it is an IP blocking issue.

I also apologize to the Cursor team for my earlier misjudgment of the problem.
