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

WSL 2 - Can't access to localhost after server reloaded #4366

Closed
dangxquang opened this issue Aug 1, 2019 · 1 comment
Closed

WSL 2 - Can't access to localhost after server reloaded #4366

dangxquang opened this issue Aug 1, 2019 · 1 comment

Comments

@dangxquang
Copy link

  • Your Windows build number: (Type ver at a Windows Command Prompt)
    Windows build 18945.
  • What you're doing and what's happening: (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)
    When I run a new react server (i.e create-react-app), I can access localhost from windows. Then I try to edit some page, the react server rebuild but I can't reload the page. The browser keeps loading the page without response. It may take some minutes to be accessed again or I need to restart the server manually.
    If access via wsl-2 IP address, everything works like a charm.
  • What's wrong / what should be happening instead:
    App reload should be accessed via localhost without problems
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

No branches or pull requests

2 participants