Control over which ports Cursor IDE uses

Feature request for product/service

Cursor IDE

Describe the request

There appears to be some internal communication between different components of the Cursor IDE on loopback when using a devcontainer. I would like to be able to configure the IDE to leave certain ports free for other applications on my machine.

My primary motivation for this is that there’s an undesirable interaction with a (ROS1) roscore, which expects to find port 11311 free. This port is sometimes in use by Cursor, which results in unexpected behavior.

Screenshot / Screen Recording

Operating System (if it applies)

Linux

My workaround for this is to run a script that listens on port 11311 while starting Cursor. This forces Cursor to fall back to port 11312. I can then stop my script and things work as expected.