René's URL Explorer Experiment


Title: fix(debug-ios): make the CDP proxy pick a free port and survive reconnects by rigor789 · Pull Request #6177 · NativeScript/nativescript-cli · GitHub

Open Graph Title: fix(debug-ios): make the CDP proxy pick a free port and survive reconnects by rigor789 · Pull Request #6177 · NativeScript/nativescript-cli

X Title: fix(debug-ios): make the CDP proxy pick a free port and survive reconnects by rigor789 · Pull Request #6177 · NativeScript/nativescript-cli

Description: NativeScript CLI - command-line tools . Contribute to NativeScript/nativescript-cli development by creating an account on GitHub.

Open Graph Description: What is the current behavior? Port in use: isPortAvailable checks localhost, but since #5788 the WebSocket server binds every interface. On macOS those don't conflict, so a taken port passes th...

X Description: What is the current behavior? Port in use: isPortAvailable checks localhost, but since #5788 the WebSocket server binds every interface. On macOS those don't conflict, so a taken port passe...

Opengraph URL: https://github.com/NativeScript/nativescript-cli/pull/6177

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:4ee47fdc-2520-3ca6-9db9-faf4f053c532
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9ECE:33D24F:15D12CC:1BF64CC:6B0139D6
html-safe-noncedf5266da79e71137f73fc249493d4ce534f59254dd2a19f54895c0cd64238e50
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUNFOjMzRDI0RjoxNUQxMkNDOjFCRjY0Q0M6NkIwMTM5RDYiLCJ2aXNpdG9yX2lkIjoiMTk5MTUxOTUzMDY5MDI5ODQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac147df968b6347bcbe1bf33bd88c9d5eabdd330f61bb5cd0c7230868a53998f2a
hovercard-subject-tagpull_request:5087898790
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/NativeScript/nativescript-cli/6177/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6580ca8669b64c71847c95b3d2486fe5b5f0c6d838a3b4cc15688bb19ba7652a/NativeScript/nativescript-cli/pull/6177
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6580ca8669b64c71847c95b3d2486fe5b5f0c6d838a3b4cc15688bb19ba7652a/NativeScript/nativescript-cli/pull/6177
og:image:altWhat is the current behavior? Port in use: isPortAvailable checks localhost, but since #5788 the WebSocket server binds every interface. On macOS those don't conflict, so a taken port passes th...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerigor789
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id21347346
octolytics-dimension-repository_nwoNativeScript/nativescript-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21347346
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-cli/pull/6177#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F6177
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F6177
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=NativeScript%2Fnativescript-cli
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6177
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6177
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6177
NativeScripthttps://github.com/NativeScript
nativescript-clihttps://github.com/NativeScript/nativescript-cli
Codehttps://github.com/NativeScript/nativescript-cli
Issues357 (357)https://github.com/NativeScript/nativescript-cli/issues
Pull requests37 (37)https://github.com/NativeScript/nativescript-cli/pulls
Actionshttps://github.com/NativeScript/nativescript-cli/actions
Projectshttps://github.com/NativeScript/nativescript-cli/projects
Security and qualityhttps://github.com/NativeScript/nativescript-cli/security
Insightshttps://github.com/NativeScript/nativescript-cli/insights
https://github.com/NativeScript/nativescript-cli
edusperonihttps://github.com/edusperoni
fix/ios-device-double-launchhttps://github.com/NativeScript/nativescript-cli/tree/fix/ios-device-double-launch
fix/ios-debug-proxyhttps://github.com/NativeScript/nativescript-cli/tree/fix/ios-debug-proxy
Conversationhttps://github.com/NativeScript/nativescript-cli/pull/6177
Commits4 (4)https://github.com/NativeScript/nativescript-cli/pull/6177/commits
Checkshttps://github.com/NativeScript/nativescript-cli/pull/6177/checks
Files changedhttps://github.com/NativeScript/nativescript-cli/pull/6177/files
fix(debug-ios): make the CDP proxy pick a free port and survive reconnectshttps://github.com/NativeScript/nativescript-cli/pull/6177#top
edusperonihttps://github.com/edusperoni
fix/ios-device-double-launchhttps://github.com/NativeScript/nativescript-cli/tree/fix/ios-device-double-launch
fix/ios-debug-proxyhttps://github.com/NativeScript/nativescript-cli/tree/fix/ios-debug-proxy
https://github.com/rigor789
rigor789https://github.com/rigor789
Oct 30, 2026https://github.com/NativeScript/nativescript-cli/pull/6177#issue-6123264631
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6177
#5788https://github.com/NativeScript/nativescript-cli/pull/5788
#6176https://github.com/NativeScript/nativescript-cli/pull/6176
#6178https://github.com/NativeScript/nativescript-cli/pull/6178
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6177
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Oct 30, 2026https://github.com/NativeScript/nativescript-cli/pull/6177#issuecomment-6528262449
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6177
https://app.coderabbit.ai/change-stack/NativeScript/nativescript-cli/pull/6177?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&cs_source=review_comment
6494a79https://github.com/NativeScript/nativescript-cli/commit/6494a79b8b503e42a58c0e641ec9afc46ab51469
572af52https://github.com/NativeScript/nativescript-cli/commit/572af5297aa74b305a973eafd7851173c5702c3a
04f071ehttps://github.com/NativeScript/nativescript-cli/commit/04f071ec36c53574d24a4c28e6b752bfa627b2f8
6494a79https://github.com/NativeScript/nativescript-cli/commit/6494a79b8b503e42a58c0e641ec9afc46ab51469
NativeScript/nativescript-cli#6176https://github.com/NativeScript/nativescript-cli/pull/6176
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=NativeScript/nativescript-cli&utm_content=6177
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6177
fix(ios): launch the app once when restarting it on a device #6176 https://github.com/NativeScript/nativescript-cli/pull/6176
feat(ios): share DerivedData with Xcode and speed up incremental builds #6178 https://github.com/NativeScript/nativescript-cli/pull/6178
https://github.com/rigor789
rigor789https://github.com/rigor789
stack #6180https://github.com/NativeScript/nativescript-cli/stack/6180
October 30, 2026 17:32https://github.com/NativeScript/nativescript-cli/pull/6177#event-34716403325
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Oct 30, 2026 https://github.com/NativeScript/nativescript-cli/pull/6177#pullrequestreview-5716251497
View reviewed changes https://github.com/NativeScript/nativescript-cli/pull/6177/files
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/NativeScript/nativescript-cli/pull/6177#pullrequestreview-5716251497
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
719a870https://github.com/NativeScript/nativescript-cli/commit/719a870d349ff255d3888f3cfa5f10189b88d26b
259682ehttps://github.com/NativeScript/nativescript-cli/commit/259682e921cee5645503783c85b50d5292bfb67c
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6177
lib/common/test/unit-tests/services/net-service.tshttps://github.com/NativeScript/nativescript-cli/pull/6177/files#diff-b7fc538f5a6187c744af81865ad2a324d914b4d55c6434110a65cbe263274a8b
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6177
lib/device-sockets/ios/app-debug-socket-proxy-factory.tshttps://github.com/NativeScript/nativescript-cli/pull/6177/files#diff-ddc2ce7f8ada9e2ce8eba6d4e7261b412ec9729725ed7c8bf35ec4d935d61557
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6177
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Oct 30, 2026 https://github.com/NativeScript/nativescript-cli/pull/6177#pullrequestreview-5717756078
View reviewed changes https://github.com/NativeScript/nativescript-cli/pull/6177/files
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/NativeScript/nativescript-cli/pull/6177#pullrequestreview-5717756078
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
1d8dea6https://github.com/NativeScript/nativescript-cli/commit/1d8dea6f29f80d0ba079826206a9daec398d4764
04f071ehttps://github.com/NativeScript/nativescript-cli/commit/04f071ec36c53574d24a4c28e6b752bfa627b2f8
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6177
lib/common/test/unit-tests/services/net-service.tshttps://github.com/NativeScript/nativescript-cli/pull/6177/files#diff-b7fc538f5a6187c744af81865ad2a324d914b4d55c6434110a65cbe263274a8b
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6177
rigor789https://github.com/rigor789
October 30, 2026 22:27https://github.com/NativeScript/nativescript-cli/pull/6177#commits-pushed-54bb719
https://github.com/rigor789
fix(debug-ios): make the CDP proxy pick a free port and survive recon…https://github.com/NativeScript/nativescript-cli/pull/6177/commits/54bb71978b01abc58095d7a1a8fe783c7dd6a83e
54bb719https://github.com/NativeScript/nativescript-cli/pull/6177/commits/54bb71978b01abc58095d7a1a8fe783c7dd6a83e
https://github.com/rigor789
fix(debug-ios): only accept debugger connections from this machine an…https://github.com/NativeScript/nativescript-cli/pull/6177/commits/88cb51d2c18029a70d04d4e7632b8e7f32c1fded
88cb51dhttps://github.com/NativeScript/nativescript-cli/pull/6177/commits/88cb51d2c18029a70d04d4e7632b8e7f32c1fded
https://github.com/rigor789
fix(debug-ios): clean up and exit when the app's socket closeshttps://github.com/NativeScript/nativescript-cli/pull/6177/commits/1aa7b02f6ba86f6fb1e65a9ac7957617baeb9f25
1aa7b02https://github.com/NativeScript/nativescript-cli/pull/6177/commits/1aa7b02f6ba86f6fb1e65a9ac7957617baeb9f25
https://github.com/rigor789
test(net): skip unavailable addresses through vitest's test contexthttps://github.com/NativeScript/nativescript-cli/pull/6177/commits/572af5297aa74b305a973eafd7851173c5702c3a
572af52https://github.com/NativeScript/nativescript-cli/pull/6177/commits/572af5297aa74b305a973eafd7851173c5702c3a
https://github.com/rigor789
rigor789https://github.com/rigor789
force-pushedhttps://github.com/NativeScript/nativescript-cli/compare/6494a79b8b503e42a58c0e641ec9afc46ab51469..572af5297aa74b305a973eafd7851173c5702c3a
6494a79https://github.com/NativeScript/nativescript-cli/commit/6494a79b8b503e42a58c0e641ec9afc46ab51469
572af52https://github.com/NativeScript/nativescript-cli/commit/572af5297aa74b305a973eafd7851173c5702c3a
Compare https://github.com/NativeScript/nativescript-cli/compare/6494a79b8b503e42a58c0e641ec9afc46ab51469..572af5297aa74b305a973eafd7851173c5702c3a
October 30, 2026 22:15https://github.com/NativeScript/nativescript-cli/pull/6177#event-34737125554
https://github.com/edusperoni
edusperonihttps://github.com/edusperoni
Nov 8, 2026 https://github.com/NativeScript/nativescript-cli/pull/6177#pullrequestreview-5819374341
View reviewed changes https://github.com/NativeScript/nativescript-cli/pull/6177/files/572af5297aa74b305a973eafd7851173c5702c3a
https://github.com/edusperoni
edusperonihttps://github.com/edusperoni
88343d2https://github.com/NativeScript/nativescript-cli/commit/88343d2a505e77dab23f84fea0490e85a46c5e94
Nov 8, 2026https://github.com/NativeScript/nativescript-cli/pull/6177#event-35510628427
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6177
https://github.com/edusperoni
edusperonihttps://github.com/edusperoni
November 8, 2026 19:58https://github.com/NativeScript/nativescript-cli/pull/6177#event-35510630952
https://github.com/NathanWalker
NathanWalkerhttps://github.com/NathanWalker
Nov 16, 2026 https://github.com/NativeScript/nativescript-cli/pull/6177#ref-pullrequest-6124359630
feat(ios): show the app's forwarded stdout and stderr #6181 https://github.com/NativeScript/nativescript-cli/pull/6181
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F6177
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/NativeScript/nativescript-cli/pull/6177/files/04f071ec36c53574d24a4c28e6b752bfa627b2f8
https://github.com/edusperoni
edusperoni https://github.com/edusperoni
https://github.com/NativeScript/nativescript-cli/pull/6177/files/572af5297aa74b305a973eafd7851173c5702c3a
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6177
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6177
https://github.com/rigor789
https://github.com/edusperoni
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.