0

I'm making a project to learn and using API server dowloaded from school task. I use WSL Ubuntu in VS Code (or VS Code under WSL Ubuntu, i dunno). It always worked fine, but then API server on localhost:3000 became unavailable, though I npm start it without errors in the terminal. Then after some time, I couldn't access my project on localhost:8080, though it was starting normally too. I added firewall rule to open both 3000 and 8080 ports. 8080 is now working, but 3000 is still unaccessable. I used TCPView and it doesn't show 3000 port open anywhere.

  • Short answer -- Try `wsl --shutdown`. Longer answer [here](https://stackoverflow.com/a/63455770/11810933). Definitely worth trying first, since it's so easy. But the fact that 8080 is working for you, but 3000 isn't may mean that this isn't the problem you are facing. – NotTheDr01ds Jun 19 '21 at 23:49

0 Answers0