René's URL Explorer Experiment


Title: fix: give a clean error when the dev server fails to bind by Manushprajwal7 · Pull Request #4207 · mkdocs/mkdocs · GitHub

Open Graph Title: fix: give a clean error when the dev server fails to bind by Manushprajwal7 · Pull Request #4207 · mkdocs/mkdocs

X Title: fix: give a clean error when the dev server fails to bind by Manushprajwal7 · Pull Request #4207 · mkdocs/mkdocs

Description: Project documentation with Markdown. Contribute to mkdocs/mkdocs development by creating an account on GitHub.

Open Graph Description: Summary Fixes #4131. mkdocs serve crashes with a raw, unhandled traceback whenever the dev server's socket cannot be bound. This is most commonly caused by the address already being in use, but...

X Description: Summary Fixes #4131. mkdocs serve crashes with a raw, unhandled traceback whenever the dev server's socket cannot be bound. This is most commonly caused by the address already being in use,...

Opengraph URL: https://github.com/mkdocs/mkdocs/pull/4207

X: @github

direct link

Domain: github.com

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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:fd948f0b-de02-177e-78d8-af5f7c430ab3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA7DA:D5C5A:278E58:34CF02:6AEBD2ED
html-safe-nonced1ccecc19f5bba14b95ac224151e480c663280c363ad9dd62cc5e1d61c5b2fe6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0RBOkQ1QzVBOjI3OEU1ODozNENGMDI6NkFFQkQyRUQiLCJ2aXNpdG9yX2lkIjoiNjcyODA3OTM5NjM5Nzg5NjQyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac904526b3d9d4ff189169caff972a759755cdbd0f6a81e2610d0fafa55cf949b3
hovercard-subject-tagpull_request:4237598711
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/mkdocs/mkdocs/4207/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5e72d165e8d8b9700480f11e97c3fb6203c0f68a24f10b1ee659368714785591/mkdocs/mkdocs/pull/4207
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5e72d165e8d8b9700480f11e97c3fb6203c0f68a24f10b1ee659368714785591/mkdocs/mkdocs/pull/4207
og:image:altSummary Fixes #4131. mkdocs serve crashes with a raw, unhandled traceback whenever the dev server's socket cannot be bound. This is most commonly caused by the address already being in use, but...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameManushprajwal7
hostnamegithub.com
expected-hostnamegithub.com
None97b204e1babd5581d0c4d4f3dc7d4a484f3d9fef013d4bc1be57692ba0aeb6f5
turbo-cache-controlno-cache
go-importgithub.com/mkdocs/mkdocs git https://github.com/mkdocs/mkdocs.git
octolytics-dimension-user_id9692741
octolytics-dimension-user_loginmkdocs
octolytics-dimension-repository_id15830664
octolytics-dimension-repository_nwomkdocs/mkdocs
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id15830664
octolytics-dimension-repository_network_root_nwomkdocs/mkdocs
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
releaseee820e8271e2dd5c53dba22e928915edb9795b69
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/mkdocs/mkdocs/pull/4207#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmkdocs%2Fmkdocs%2Fpull%2F4207
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%2Fmkdocs%2Fmkdocs%2Fpull%2F4207
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=mkdocs%2Fmkdocs
Reloadhttps://github.com/mkdocs/mkdocs/pull/4207
Reloadhttps://github.com/mkdocs/mkdocs/pull/4207
Reloadhttps://github.com/mkdocs/mkdocs/pull/4207
mkdocshttps://github.com/mkdocs
mkdocshttps://github.com/mkdocs/mkdocs
Codehttps://github.com/mkdocs/mkdocs
Issues120 (120)https://github.com/mkdocs/mkdocs/issues
Pull requests63 (63)https://github.com/mkdocs/mkdocs/pulls
Discussionshttps://github.com/mkdocs/mkdocs/discussions
Actionshttps://github.com/mkdocs/mkdocs/actions
Security and qualityhttps://github.com/mkdocs/mkdocs/security
Insightshttps://github.com/mkdocs/mkdocs/pulse
https://github.com/mkdocs/mkdocs
Manushprajwal7https://github.com/Manushprajwal7
mkdocs:masterhttps://github.com/mkdocs/mkdocs/tree/master
Manushprajwal7:fix/serve-bind-error-cleanlyhttps://github.com/Manushprajwal7/mkdocs/tree/fix/serve-bind-error-cleanly
Conversationhttps://github.com/mkdocs/mkdocs/pull/4207
Commits6 (6)https://github.com/mkdocs/mkdocs/pull/4207/commits
Checkshttps://github.com/mkdocs/mkdocs/pull/4207/checks
Files changedhttps://github.com/mkdocs/mkdocs/pull/4207/files
fix: give a clean error when the dev server fails to bindhttps://github.com/mkdocs/mkdocs/pull/4207#top
Manushprajwal7https://github.com/Manushprajwal7
mkdocs:masterhttps://github.com/mkdocs/mkdocs/tree/master
Manushprajwal7:fix/serve-bind-error-cleanlyhttps://github.com/Manushprajwal7/mkdocs/tree/fix/serve-bind-error-cleanly
https://github.com/Manushprajwal7
Manushprajwal7https://github.com/Manushprajwal7
Aug 9, 2026https://github.com/mkdocs/mkdocs/pull/4207#issue-5101456984
Please reload this pagehttps://github.com/mkdocs/mkdocs/pull/4207
#4131https://github.com/mkdocs/mkdocs/issues/4131
Please reload this pagehttps://github.com/mkdocs/mkdocs/pull/4207
https://github.com/Manushprajwal7
fix: give a clean error when the dev server fails to bindhttps://github.com/mkdocs/mkdocs/pull/4207/commits/ab218254d4122623ce7119e4ac3d4068a549a240
ab21825https://github.com/mkdocs/mkdocs/pull/4207/commits/ab218254d4122623ce7119e4ac3d4068a549a240
mkdocs#4131https://github.com/mkdocs/mkdocs/issues/4131
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
August 9, 2026 07:42https://github.com/mkdocs/mkdocs/pull/4207#event-29177230731
started reviewinghttps://github.com/mkdocs/mkdocs/sessions/e40e8918-d0d8-4823-8345-3ab4527237cb
Manushprajwal7https://github.com/Manushprajwal7
August 9, 2026 07:42https://github.com/mkdocs/mkdocs/pull/4207#event-29177238363
View session https://github.com/mkdocs/mkdocs/sessions/e40e8918-d0d8-4823-8345-3ab4527237cb
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Aug 9, 2026 https://github.com/mkdocs/mkdocs/pull/4207#pullrequestreview-4890801449
View reviewed changes https://github.com/mkdocs/mkdocs/pull/4207/files/ab218254d4122623ce7119e4ac3d4068a549a240
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/mkdocs/mkdocs/pull/4207#pullrequestreview-4890801449
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Add a code-review agent skillhttps://github.com/mkdocs/mkdocs/new/master?filename=.github/skills/code-review/SKILL.md
Learn more in the docs.https://docs.github.com/en/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review#mcp-servers-and-agent-skills
Please reload this pagehttps://github.com/mkdocs/mkdocs/pull/4207
mkdocs/tests/cli_tests.pyhttps://github.com/mkdocs/mkdocs/pull/4207/files/ab218254d4122623ce7119e4ac3d4068a549a240#diff-d048d81a0fb37b388ec9e0bc23326a14ea87a59b1b410ad1a58dc7976a57378f
https://github.com/Manushprajwal7
style: fix formatting per project's black confighttps://github.com/mkdocs/mkdocs/pull/4207/commits/380f32ed7fedbed904d783ac6855125e08687269
380f32ehttps://github.com/mkdocs/mkdocs/pull/4207/commits/380f32ed7fedbed904d783ac6855125e08687269
https://github.com/Manushprajwal7
Manushprajwal7https://github.com/Manushprajwal7
Aug 9, 2026https://github.com/mkdocs/mkdocs/pull/4207#issuecomment-5230584028
this runhttps://github.com/mkdocs/mkdocs/actions/runs/31243474392
Please reload this pagehttps://github.com/mkdocs/mkdocs/pull/4207
https://github.com/Manushprajwal7
test: mock build() and scope assertLogs to ERROR in bind-error testhttps://github.com/mkdocs/mkdocs/pull/4207/commits/09c5f0ac922ca6bb818ab9c359c6b0fc22c85d9a
09c5f0ahttps://github.com/mkdocs/mkdocs/pull/4207/commits/09c5f0ac922ca6bb818ab9c359c6b0fc22c85d9a
https://github.com/Manushprajwal7
Manushprajwal7https://github.com/Manushprajwal7
Aug 9, 2026 https://github.com/mkdocs/mkdocs/pull/4207#ref-pullrequest-5101767628
fix: dedent PathSpec config values before compiling patterns #4208 https://github.com/mkdocs/mkdocs/pull/4208
https://github.com/Manushprajwal7
Manushprajwal7https://github.com/Manushprajwal7
Aug 9, 2026https://github.com/mkdocs/mkdocs/pull/4207#issuecomment-5230745189
#4208https://github.com/mkdocs/mkdocs/pull/4208
Please reload this pagehttps://github.com/mkdocs/mkdocs/pull/4207
https://github.com/Manushprajwal7
fix: dedent PathSpec config values before compiling patternshttps://github.com/mkdocs/mkdocs/pull/4207/commits/9306eefa67edec47ee74be2ec9425c57038e602e
9306eefhttps://github.com/mkdocs/mkdocs/pull/4207/commits/9306eefa67edec47ee74be2ec9425c57038e602e
https://github.com/Manushprajwal7
Manushprajwal7https://github.com/Manushprajwal7
Aug 9, 2026https://github.com/mkdocs/mkdocs/pull/4207#issuecomment-5232919206
#4208https://github.com/mkdocs/mkdocs/pull/4208
#4208https://github.com/mkdocs/mkdocs/pull/4208
Please reload this pagehttps://github.com/mkdocs/mkdocs/pull/4207
Manushprajwal7https://github.com/Manushprajwal7
August 9, 2026 23:56https://github.com/mkdocs/mkdocs/pull/4207#commits-pushed-bc8c549
https://github.com/Manushprajwal7
ci: don't block on pypy-3.9 for ubuntu/windows (pre-existing, unrelat…https://github.com/mkdocs/mkdocs/pull/4207/commits/bc8c5495a9352161cd1c24965c90e21d2328283a
bc8c549https://github.com/mkdocs/mkdocs/pull/4207/commits/bc8c5495a9352161cd1c24965c90e21d2328283a
https://github.com/Manushprajwal7
ci: guard downstream steps so allowed pypy-3.9 failures show as passinghttps://github.com/mkdocs/mkdocs/pull/4207/commits/e03efd15b84f020c3fa11bf18e560716ce5d9841
e03efd1https://github.com/mkdocs/mkdocs/pull/4207/commits/e03efd15b84f020c3fa11bf18e560716ce5d9841
https://github.com/OKAN-SOFTWARE
OKAN-SOFTWAREhttps://github.com/OKAN-SOFTWARE
Oct 28, 2026 https://github.com/mkdocs/mkdocs/pull/4207#pullrequestreview-5679605473
View reviewed changes https://github.com/mkdocs/mkdocs/pull/4207/files/e03efd15b84f020c3fa11bf18e560716ce5d9841
mkdocs/commands/serve.pyhttps://github.com/mkdocs/mkdocs/pull/4207/files/e03efd15b84f020c3fa11bf18e560716ce5d9841#diff-6ce1f9285defedc650e776dc5832321bc5297c681ac941dac31982ee237c7589
OKAN-SOFTWAREhttps://github.com/OKAN-SOFTWARE
Oct 28, 2026https://github.com/mkdocs/mkdocs/pull/4207#discussion_r4398272689
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/mkdocs/mkdocs/pull/4207
https://github.co/hiddenchars
https://github.com/mkdocs/mkdocs/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%2Fmkdocs%2Fmkdocs%2Fpull%2F4207
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/mkdocs/mkdocs/pull/4207/files/ab218254d4122623ce7119e4ac3d4068a549a240
https://github.com/OKAN-SOFTWARE
OKAN-SOFTWARE https://github.com/OKAN-SOFTWARE
https://github.com/mkdocs/mkdocs/pull/4207/files/e03efd15b84f020c3fa11bf18e560716ce5d9841
Please reload this pagehttps://github.com/mkdocs/mkdocs/pull/4207
WinError 10013 - command of mkdocs serve https://github.com/mkdocs/mkdocs/issues/4131
Please reload this pagehttps://github.com/mkdocs/mkdocs/pull/4207
https://github.com/Manushprajwal7
https://github.com/apps/copilot-pull-request-reviewer
https://github.com/OKAN-SOFTWARE
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.