Skip to content

Conversation

SanabriaRusso
Copy link
Member

No description provided.

@SanabriaRusso SanabriaRusso changed the title Selecting localhost Rosetta port at random:This measure seeks to avoi… Selecting localhost Rosetta port at random Sep 24, 2025
@cjjdespres
Copy link
Member

An alternative (maybe not now, since it requires a bit more work) - if you request to bind to port 0 the kernel will instead select an unused port in the ephemeral range for the application. So if we had rosetta read the port that it got and print it in its logs, the test code could read the logs and get the port from there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants