René's URL Explorer Experiment


Title: The registration order of http server listen depends on the Node.js version · Issue #53204 · nodejs/node · GitHub

Open Graph Title: The registration order of http server listen depends on the Node.js version · Issue #53204 · nodejs/node

X Title: The registration order of http server listen depends on the Node.js version · Issue #53204 · nodejs/node

Description: Version v20.13.1 Platform Darwin 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103 arm64 Subsystem No response What steps will reproduce the bug? The behavior of Server.listen on...

Open Graph Description: Version v20.13.1 Platform Darwin 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103 arm64 Subsystem No response What steps will reproduce t...

X Description: Version v20.13.1 Platform Darwin 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103 arm64 Subsystem No response What steps will reproduce t...

Opengraph URL: https://github.com/nodejs/node/issues/53204

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The registration order of http server listen depends on the Node.js version","articleBody":"### Version\r\n\r\nv20.13.1\r\n\r\n### Platform\r\n\r\nDarwin 23.5.0 Darwin Kernel Version 23.5.0: Wed May  1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103 arm64\r\n\r\n### Subsystem\r\n\r\n_No response_\r\n\r\n### What steps will reproduce the bug?\r\n\r\nThe behavior of `Server.listen` on the same port has changed between node 20.12 and 20.13.\r\n\r\nIf you execute code like the following,\r\nIn node 20.12, 127.0.0.1:8888 (or 0.0.0.0:8888, localhost:8888) is listened to and the `Hello World` string is returned.\r\nHowever, in node 20.13, only 192.168.10.104:8888 is listened to, and the rest, such as 127.0.0.1:8888, are not listened to.\r\n\r\n```js\r\nimport { createServer } from \"node:http\";\r\n\r\nconst server = createServer((_, res) => {\r\n  res.writeHead(200, { \"Content-Type\": \"text/plain\" });\r\n  res.end(\"Hello World\\n\");\r\n});\r\n\r\n// listen order dependents on the version of node.js...\r\nserver.listen(8888, \"127.0.0.1\"); // 20.13 \u003c , this one is used.\r\nserver.listen(8888, \"192.168.10.104\" /* replace your local ip address */); // 20.13 >= , this one is used.\r\n```\r\n\r\n### How often does it reproduce? Is there a required condition?\r\n\r\nalways\r\n\r\n### What is the expected behavior? Why is that the expected behavior?\r\n\r\nBoth will be LISTENED to, or if there is a specification for the order, that document will be clearly noted.\r\n\r\n### What do you see instead?\r\n\r\nno outputs\r\n\r\n### Additional information\r\n\r\nFor example, this is how it is used.\r\nhttps://github.com/Azure/static-web-apps-cli/blob/352be8f4ce2d01e1dac17797a80f9f414d612bc0/src/msha/server.ts#L173-L174","author":{"url":"https://github.com/yamachu","@type":"Person","name":"yamachu"},"datePublished":"2024-05-29T17:41:24Z","url":"https://github.com/nodejs/node/issues/53204"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b1569e67-2461-099b-37d6-c4651f139fdb
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDC36:20C6D9:764631:9D2F5E:6AED24D5
html-safe-noncea9eb22ad12fe506932fc2b3fee6e7c077ad9bf6f6b8ccc2c833f4ad6179e868c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzM2OjIwQzZEOTo3NjQ2MzE6OUQyRjVFOjZBRUQyNEQ1IiwidmlzaXRvcl9pZCI6IjUwNDc2NTc3OTUyNzIxMjM2MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacaec88bf520e6d74f9191948e91ed42e2fd632159c872f614e1e6a5bbb11dc0b4
hovercard-subject-tagissue:2323889701
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/53204/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a9c3bbcb040df93aa5ca46959334d3b137f11a35205564c14379921c55971f85/nodejs/node/issues/53204
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a9c3bbcb040df93aa5ca46959334d3b137f11a35205564c14379921c55971f85/nodejs/node/issues/53204
og:image:altVersion v20.13.1 Platform Darwin 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103 arm64 Subsystem No response What steps will reproduce t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameyamachu
hostnamegithub.com
expected-hostnamegithub.com
Nonee3e0f7f63e50c6fe879198a93a0a023a648ecc0a5e9bc3b5e033ac57172237e6
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
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
release707a24b346ac8a82878b9c084efaa38a997660cb
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/nodejs/node/issues/53204#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F53204
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%2Fnodejs%2Fnode%2Fissues%2F53204
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/53204
Reloadhttps://github.com/nodejs/node/issues/53204
Reloadhttps://github.com/nodejs/node/issues/53204
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues657 (657)https://github.com/nodejs/node/issues
Pull requests666 (666)https://github.com/nodejs/node/pulls
Actionshttps://github.com/nodejs/node/actions
Projectshttps://github.com/nodejs/node/projects
Security and qualityhttps://github.com/nodejs/node/security
Insightshttps://github.com/nodejs/node/pulse
https://github.com/nodejs/node
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/53204
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/53204
#64871https://github.com/nodejs/node/pull/64871
The registration order of http server listen depends on the Node.js versionhttps://github.com/nodejs/node/issues/53204#top
#64871https://github.com/nodejs/node/pull/64871
httpIssues and PRs related to the http subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22http%22
https://github.com/yamachu
yamachuhttps://github.com/yamachu
on May 29, 2024https://github.com/nodejs/node/issues/53204#issue-2323889701
https://github.com/Azure/static-web-apps-cli/blob/352be8f4ce2d01e1dac17797a80f9f414d612bc0/src/msha/server.ts#L173-L174https://github.com/Azure/static-web-apps-cli/blob/352be8f4ce2d01e1dac17797a80f9f414d612bc0/src/msha/server.ts#L173-L174
avivkellerhttps://github.com/avivkeller
httpIssues and PRs related to the http subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22http%22
on May 29, 2024https://github.com/nodejs/node/issues/53204#event-12975328786
https://github.com/avivkeller
avivkellerhttps://github.com/avivkeller
on May 29, 2024https://github.com/nodejs/node/issues/53204#issuecomment-2137955288
avivkellerhttps://github.com/avivkeller
v20.xhttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22v20.x%22
on May 29, 2024https://github.com/nodejs/node/issues/53204#event-12975331460
https://github.com/avivkeller
avivkellerhttps://github.com/avivkeller
on May 29, 2024https://github.com/nodejs/node/issues/53204#issuecomment-2137962177
Azure/static-web-apps-cli#829https://github.com/Azure/static-web-apps-cli/issues/829
#52492https://github.com/nodejs/node/pull/52492
https://nodejs.org/en/blog/release/v20.13.0https://nodejs.org/en/blog/release/v20.13.0
https://github.com/theanarkh
theanarkhhttps://github.com/theanarkh
on May 30, 2024https://github.com/nodejs/node/issues/53204#issuecomment-2138503808
thishttps://github.com/nodejs/node/pull/52119
https://github.com/avivkeller
avivkellerhttps://github.com/avivkeller
on May 30, 2024https://github.com/nodejs/node/issues/53204#issuecomment-2138508187
thishttps://github.com/nodejs/node/pull/52119
https://github.com/mcollina
mcollinahttps://github.com/mcollina
on May 30, 2024https://github.com/nodejs/node/issues/53204#issuecomment-2140039564
targoshttps://github.com/targos
v20.xhttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22v20.x%22
on May 1, 2026https://github.com/nodejs/node/issues/53204#event-25065562680
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Jul 31, 2026https://github.com/nodejs/node/issues/53204#issuecomment-5138256027
GitHub Actionshttps://help.github.com/en/actions
github-actionshttps://github.com/apps/github-actions
staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22stale%22
on Jul 31, 2026https://github.com/nodejs/node/issues/53204#event-28753677278
https://github.com/brynary
brynaryhttps://github.com/brynary
on Aug 30, 2026https://github.com/nodejs/node/issues/53204#issuecomment-5466620516
github-actionshttps://github.com/apps/github-actions
staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22stale%22
on Aug 31, 2026https://github.com/nodejs/node/issues/53204#event-30252423123
nodejs-github-bothttps://github.com/nodejs-github-bot
completedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#64871https://github.com/nodejs/node/pull/64871
on Sep 12, 2026https://github.com/nodejs/node/issues/53204#event-31032815082
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/53204
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/53204
httpIssues and PRs related to the http subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22http%22
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.