René's URL Explorer Experiment


Title: [Feature Request] Intercepting hardcoded localhost WebSockets for HMR (.NET Hot Reload / dotnet watch) · Issue #7976 · coder/code-server · GitHub

Open Graph Title: [Feature Request] Intercepting hardcoded localhost WebSockets for HMR (.NET Hot Reload / dotnet watch) · Issue #7976 · coder/code-server

X Title: [Feature Request] Intercepting hardcoded localhost WebSockets for HMR (.NET Hot Reload / dotnet watch) · Issue #7976 · coder/code-server

Description: What is your suggestion? Implement a client-side interceptor or dynamic proxy mechanism within code-server's browser context that can catch outbound WebSocket requests to localhost: and seamlessly route them through code-server's b...

Open Graph Description: What is your suggestion? Implement a client-side interceptor or dynamic proxy mechanism within code-server's browser context that can catch outbound WebSocket requests to localhost: and seaml...

X Description: What is your suggestion? Implement a client-side interceptor or dynamic proxy mechanism within code-server's browser context that can catch outbound WebSocket requests to localhost:<port>...

Opengraph URL: https://github.com/coder/code-server/issues/7976

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Feature Request] Intercepting hardcoded localhost WebSockets for HMR (.NET Hot Reload / dotnet watch)","articleBody":"## What is your suggestion?\nImplement a client-side interceptor or dynamic proxy mechanism within `code-server`'s browser context that can catch outbound WebSocket requests to `localhost:\u003cport>` and seamlessly route them through `code-server`'s built-in proxy layer back to the remote workspace.\n\n## Why do you want this feature?\nDevelopers relying on `code-server` for a pure browser-based development experience cannot use .NET's Hot Reload (`dotnet watch`). \n\nWhen running `dotnet watch`, the .NET SDK dynamically injects a script (`aspnetcore-browser-refresh.js`) into the DOM that attempts to establish an HMR WebSocket connection to a random, ephemeral port on `localhost` (e.g., `ws://localhost:40777`). \n\nBecause the browser executes this locally, it queries the user's physical machine rather than the remote `code-server` container. The connection drops, and Hot Reload fails:\n`Firefox can’t establish a connection to the server at ws://localhost:40777/`\n\n\u003cimg width=\"1494\" height=\"211\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/491dde0f-e1ba-40fa-8d8a-06f236462bbb\" />\n\n```\nFirefox can’t establish a connection to the server at ws://localhost:43067/.     aspnetcore-browser-refresh.js:318:25\nWebSocket failed to connect.     aspnetcore-browser-refresh.js:19:15\nFirefox can’t establish a connection to the server at wss://localhost:33935/.     aspnetcore-browser-refresh.js:318:25\nWebSocket failed to connect.     aspnetcore-browser-refresh.js:19:15\nUnable to establish a connection to the browser refresh server.     aspnetcore-browser-refresh.js:23:13\n```\n\n## Are there any workarounds to get this functionality today?\nThere are no workarounds for a **pure browser** workflow (e.g., coding on an iPad or a locked-down laptop without CLI access).\n\n## Are you interested in submitting a PR for this?\nNo, I do not have the familiarity with the `code-server` networking/proxy codebase to implement this reliably.","author":{"url":"https://github.com/akhanalcs","@type":"Person","name":"akhanalcs"},"datePublished":"2026-09-01T12:46:21Z","url":"https://github.com/coder/code-server/issues/7976"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1bdbe55b-d444-7e82-e311-890072c78e4c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC7BE:11D4F:EB65:12DCE:6B042ED9
html-safe-noncea7fbf9609f0edbd22aeda2f3e3e015da3305e5f831eea8439de2aa36e4555e2f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0JFOjExRDRGOkVCNjU6MTJEQ0U6NkIwNDJFRDkiLCJ2aXNpdG9yX2lkIjoiNDE3NDQ3NjAwMDc4NDY2Nzc3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace9a4f25ddaa2d20a4639c87f125c46bef7dc0df2664f5f6dec59fd180a40917b
hovercard-subject-tagissue:5311994638
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/coder/code-server/7976/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d84e44b18e1a36ffff4ad0bc8642b422647f0948cdc9878866a1c72a45c5e735/coder/code-server/issues/7976
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d84e44b18e1a36ffff4ad0bc8642b422647f0948cdc9878866a1c72a45c5e735/coder/code-server/issues/7976
og:image:altWhat is your suggestion? Implement a client-side interceptor or dynamic proxy mechanism within code-server's browser context that can catch outbound WebSocket requests to localhost: and seaml...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameakhanalcs
hostnamegithub.com
expected-hostnamegithub.com
Noneb7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e
turbo-cache-controlno-preview
go-importgithub.com/coder/code-server git https://github.com/coder/code-server.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id172953845
octolytics-dimension-repository_nwocoder/code-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id172953845
octolytics-dimension-repository_network_root_nwocoder/code-server
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
releasec3dd496c3da6ea6b77e69c09279d2b81604654f1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/code-server/issues/7976#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fissues%2F7976
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%2Fcoder%2Fcode-server%2Fissues%2F7976
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=coder%2Fcode-server
Reloadhttps://github.com/coder/code-server/issues/7976
Reloadhttps://github.com/coder/code-server/issues/7976
Reloadhttps://github.com/coder/code-server/issues/7976
coderhttps://github.com/coder
code-serverhttps://github.com/coder/code-server
Codehttps://github.com/coder/code-server
Issues147 (147)https://github.com/coder/code-server/issues
Pull requests15 (15)https://github.com/coder/code-server/pulls
Discussionshttps://github.com/coder/code-server/discussions
Actionshttps://github.com/coder/code-server/actions
Projectshttps://github.com/coder/code-server/projects
Security and quality3 (3)https://github.com/coder/code-server/security
Insightshttps://github.com/coder/code-server/insights
https://github.com/coder/code-server
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/7976
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/7976
[Feature Request] Intercepting hardcoded localhost WebSockets for HMR (.NET Hot Reload / dotnet watch)https://github.com/coder/code-server/issues/7976#top
enhancementSome improvement that isn't a featurehttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com/akhanalcs
akhanalcshttps://github.com/akhanalcs
on Sep 1, 2026https://github.com/coder/code-server/issues/7976#issue-5311994638
https://private-user-images.githubusercontent.com/30603497/644321442-491dde0f-e1ba-40fa-8d8a-06f236462bbb.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU0MzY1NDksIm5iZiI6MTc5NTQzNjI0OSwicGF0aCI6Ii8zMDYwMzQ5Ny82NDQzMjE0NDItNDkxZGRlMGYtZTFiYS00MGZhLThkOGEtMDZmMjM2NDYyYmJiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIzVDEyMTcyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkxMjQ5OGYwMjE2ZmE4NTM2M2U3YmI1YTAyYmU5MjRiOWY1ODYxOGFkYjZjMzMzMmIyNDJiNTZlNzc0Y2Y1ZDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.74QtXphQ_shMQYbF_MhrMo_AKVLew6lZiOkdCQNtuxA
akhanalcshttps://github.com/akhanalcs
enhancementSome improvement that isn't a featurehttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22enhancement%22
on Sep 1, 2026https://github.com/coder/code-server/issues/7976#event-30346091103
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
on Sep 1, 2026https://github.com/coder/code-server/issues/7976#issuecomment-5494156282
Linear Codehttps://linear.app
CODE-42https://linear.app/codercom/issue/CODE-42
https://github.com/code-asher
code-asherhttps://github.com/code-asher
on Sep 1, 2026https://github.com/coder/code-server/issues/7976#issuecomment-5500120242
11 previewhttps://github.com/dotnet/core/blob/main/release-notes/11.0/preview/preview1/sdk.md?utm_source=chatgpt.com#configurable-browser-refresh-port
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-watch#environment-variableshttps://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-watch#environment-variables
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/code-server/issues/7976
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/code-server/issues/7976
enhancementSome improvement that isn't a featurehttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22enhancement%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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.