Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Mirrored networking mode detail for WSL #1002

Merged
merged 5 commits into from
Feb 7, 2025

Conversation

Vijay-Nirmal
Copy link
Contributor

Fix: #844

@badrishc
Copy link
Contributor

badrishc commented Feb 5, 2025

This is not necessary, and further, this mirrored networking mode works only on Windows 11.

Here is how we make WSL clients work with a Garnet Windows server in general:

  • Start GarnetServer in Windows, listening to 0.0.0.0 (IPAddress.Any). Use the argument --bind 0.0.0.0 if necessary.
  • Add GarnetServer.exe to firewall exceptions (Windows Defender Firewall -> Allowed apps)
  • On WSL, get the host IP address using ip route show | grep -i default | awk '{ print $3}'
  • Connect from WSL using redis-cli -h <address>

You could edit the docs to offer this alternative first. And mention the mirrored mode only for Windows 11, and only if the above did not work for some reason.

@Vijay-Nirmal
Copy link
Contributor Author

Will do it

@Vijay-Nirmal
Copy link
Contributor Author

@badrishc Updated it

@badrishc badrishc self-assigned this Feb 6, 2025
@badrishc badrishc merged commit 61567d5 into microsoft:main Feb 7, 2025
8 checks passed
@Vijay-Nirmal Vijay-Nirmal deleted the doc/mirrored-wsl branch February 7, 2025 04:41
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.

2 participants