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

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.