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

[Bug]: wsl中启动容器了,还是打不开 #5088

Closed
1 task done
wulala-star1 opened this issue Nov 17, 2024 · 2 comments
Closed
1 task done

[Bug]: wsl中启动容器了,还是打不开 #5088

wulala-star1 opened this issue Nov 17, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@wulala-star1
Copy link

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Describe the bug and reproduction steps

image
image

OpenHands Installation

Docker command in README

OpenHands Version

No response

Operating System

WSL on Windows

Logs, Errors, Screenshots, and Additional Context

No response

@mamoodi
Copy link
Collaborator

mamoodi commented Nov 18, 2024

Can you ensure Docker Desktop WSL2 is enabled? https://docs.docker.com/desktop/features/wsl/#turn-on-docker-desktop-wsl-2

And then go to Settings > Resources > Network and make sure Enable host networking is also enabled?

And then retry?

@Paste-Fried-tofu
Copy link

Firstly, you should set the wsl networkingMode=mirrored, see that at: https://learn.microsoft.com/zh-cn/windows/wsl/networking.
Then, you may need to access the 127.0.0.1:3000, rather than the 0.0.0.0:3000

@mamoodi mamoodi closed this as completed Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants