Skip to content

fix: update default WebSocket port from 50509 to 7509#38

Merged
sanity merged 1 commit intomainfrom
fix/issue-1751-update-port-to-7509
Oct 18, 2025
Merged

fix: update default WebSocket port from 50509 to 7509#38
sanity merged 1 commit intomainfrom
fix/issue-1751-update-port-to-7509

Conversation

@sanity
Copy link
Copy Markdown
Contributor

@sanity sanity commented Oct 11, 2025

Summary

Updates River to use the new default Freenet WebSocket port 7509 instead of 50509, which is blocked by Windows firewall.

Background

Port 50509 falls within Windows 10/11's excluded port range (50000-50059), preventing Freenet nodes from starting on Windows systems. The Freenet core is changing the default port to 7509 to fix this issue.

Changes

Updated default port from 50509 to 7509 across 6 files:

Code:

  • cli/src/main.rs - CLI default WebSocket URL
  • ui/src/components/app/freenet_api/constants.rs - UI WebSocket constants
  • ui/src/components/members/invite_member_modal.rs - UI invite modal URL

Documentation:

  • CLAUDE.md - Development documentation (3 occurrences)
  • cli/README.md - CLI documentation
  • cli/QUICK_START.md - Quick start guide

Testing

  • ✅ All code changes compile
  • ✅ No remaining references to port 50509
  • ✅ URLs updated consistently

Backward Compatibility

Users on custom port configurations can override using:

river-cli --node-url "ws://127.0.0.1:50509/v1/contract/command?encodingProtocol=native"

Coordinated Release

⚠️ IMPORTANT: This PR should be released in coordination with freenet/freenet-core#1938, which updates the Freenet core default port to 7509.

Related to freenet/freenet-core#1751

🤖 Generated with Claude Code

Co-Authored-By: Ian Clarke sanity@users.noreply.github.com

Updates River to use the new default Freenet WebSocket port 7509
instead of 50509, which is blocked by Windows firewall.

Changes:
- CLI default WebSocket URL (cli/src/main.rs)
- UI WebSocket constants (ui/src/components/app/freenet_api/constants.rs)
- UI invite modal URL (ui/src/components/members/invite_member_modal.rs)
- Documentation (CLAUDE.md, README.md, QUICK_START.md)

Related to freenet/freenet-core#1751

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Ian Clarke <sanity@users.noreply.github.com>
@sanity
Copy link
Copy Markdown
Contributor Author

sanity commented Oct 11, 2025

@iduartgomez - This PR is ready for review. Key points:

Purpose
Updates River to use the new default Freenet WebSocket port 7509 (changed from 50509 due to Windows firewall blocking).

Coordinated Release Required
This PR must be released together with freenet/freenet-core#1938, which updates the core default port. Releasing them separately would break compatibility.

Suggested Release Process:

  1. Review and approve both PRs
  2. Merge both PRs on the same day
  3. Release freenet-core with new port
  4. Release river immediately after

Files Updated:

  • CLI default URL
  • UI WebSocket constants
  • UI invite modal URL
  • All documentation

Let me know if you have any concerns about this approach.


[AI-assisted debugging and comment]

@sanity sanity merged commit eb1e633 into main Oct 18, 2025
4 of 5 checks passed
sanity added a commit that referenced this pull request Oct 18, 2025
Update CLI version to include port change (50509 → 7509) from PR #38.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant