Cursor AI Agent Cannot Access localhost via curl

Hey, thanks for the report. This looks like a macOS Local Network permissions issue after updating to v2.4.21. The exact same thing happened in another thread.

Try this order:

  1. System Settings > Privacy & Security > Local Network. Check if Cursor is there and the permission is enabled.

  2. Important: sometimes macOS shows Cursor under a different name in that list. Try toggling apps one by one to find the right entry.

  3. If Cursor doesn’t show up at all, run a ping from Cursor’s regular terminal, not the agent one, for example ping 127.0.0.1. This should trigger the system permission prompt.

  4. If nothing helps, try removing Cursor from the Local Network list and restart the app. macOS should ask for permission again.

Let me know if it worked.