Codebase indexing error with "handshake failed"

I usually connect to the server for development via remote-ssh. The server has limited network access, and I keep encountering a “handshake failed” error when Cursor is indexing the codebase. I suspect that Cursor needs to send code to a specific address for indexing. Could you please tell me which IP addresses I should open on the server to allow codebase indexing to work properly?


I encountered a similar “handshake failed” error during codebase indexing. The solution in my case was to check and update the DNS settings on the server. After adjusting the DNS configuration, the indexing process started working properly.

I’d recommend verifying your server’s DNS settings as this could be what’s preventing the successful handshake. This is often overlooked but can be crucial for establishing proper connections when working with remote servers.

1 Like