I’m running a development NextJS server locally on port 3001. I’ve noticed a few times the server will stop working because Cursor is opening new connections on port 3001. The most recent time I noticed this I was using a background agent. Does anyone know why it’s doing this and if I can change the settings to prevent it?
sudo lsof -i :3001
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
firefox 95655 trentwalls 79u IPv4 0xfe60af71aea9df06 0t0 TCP localhost:51916->localhost:redwood-broker (ESTABLISHED)
firefox 95655 trentwalls 91u IPv4 0x449a5b7caf544e5f 0t0 TCP localhost:51775->localhost:redwood-broker (ESTABLISHED)
firefox 95655 trentwalls 177u IPv4 0xed23ae0eb23f4bed 0t0 TCP localhost:51968->localhost:redwood-broker (ESTABLISHED)
Cursor 97060 trentwalls 41u IPv4 0xd962d74a4da8bae7 0t0 TCP localhost:redwood-broker (LISTEN)
Cursor 97060 trentwalls 45u IPv4 0xe04922d06be09d4b 0t0 TCP localhost:redwood-broker->localhost:51775 (ESTABLISHED)
Cursor 97060 trentwalls 46u IPv4 0x34e720a03365bc91 0t0 TCP localhost:redwood-broker->localhost:51898 (CLOSE_WAIT)
Cursor 97060 trentwalls 47u IPv4 0x1e0f6e1e126fe62b 0t0 TCP localhost:redwood-broker->localhost:51916 (ESTABLISHED)
Cursor 97060 trentwalls 48u IPv4 0x11f4450d4fe4814d 0t0 TCP localhost:redwood-broker->localhost:51968 (ESTABLISHED)