Skip to content

Conversation

@kevinfarrugia
Copy link
Contributor

On Linux, by default only the root user can bind to ports below 1024. This PR updates the Deno server to run on port 8080.

Only affects the websockets demo.

Closes #362.

@kevinfarrugia kevinfarrugia requested a review from a team as a code owner November 20, 2025 12:32
Copy link
Member

@bsmth bsmth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lovely, tested out locally and works as expected, thanks 👍🏻

@bsmth bsmth merged commit 9a8acd0 into mdn:main Nov 21, 2025
@bsmth bsmth added the needs content update Needs update to the content to support this change. label Nov 21, 2025
@bsmth
Copy link
Member

bsmth commented Nov 21, 2025

Thanks a lot for the fixes. By the way @kevinfarrugia - the guide should be updated with this change:

https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_a_WebSocket_server_in_JavaScript_Deno

Would you like to also update it there? It lives here -> https://github.com/mdn/content/blob/main/files/en-us/web/api/websockets_api/writing_a_websocket_server_in_javascript_deno/index.md?plain=1

@kwasif371-droid

This comment was marked as spam.

@kwasif371-droid

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs content update Needs update to the content to support this change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change Deno demos to run on port 8080

3 participants