Skip to content

Conversation

@clydin
Copy link
Member

@clydin clydin commented Dec 5, 2025

The findFreePort utility has been enhanced to:

  • Explicitly bind to 127.0.0.1 to prevent firewall prompts, IPv6 binding issues, and ensure consistent IPv4 usage.
  • Improve error handling by directly rejecting the promise if the server encounters an error during binding, rather than attempting to close a potentially non-listening server.

The `findFreePort` utility has been enhanced to:
- Explicitly bind to `127.0.0.1` to prevent firewall prompts, IPv6 binding issues, and ensure consistent IPv4 usage.
- Improve error handling by directly rejecting the promise if the server encounters an error during binding, rather than attempting to close a potentially non-listening server.
@clydin clydin added the target: minor This PR is targeted for the next minor release label Dec 5, 2025
@clydin clydin marked this pull request as ready for review December 5, 2025 15:27
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Dec 5, 2025
@clydin clydin requested a review from alan-agius4 December 5, 2025 16:04
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Dec 5, 2025
@clydin clydin merged commit 0cc102e into angular:main Dec 5, 2025
38 checks passed
@clydin
Copy link
Member Author

clydin commented Dec 5, 2025

This PR was merged into the repository. The changes were merged into the following branches:

@clydin clydin deleted the e2e/find-port-cleanup branch December 5, 2025 16:42
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants