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

Unable to reach from outside the computer it runs on #13

Closed
Br3akout opened this issue Dec 9, 2021 · 5 comments
Closed

Unable to reach from outside the computer it runs on #13

Br3akout opened this issue Dec 9, 2021 · 5 comments

Comments

@Br3akout
Copy link

Br3akout commented Dec 9, 2021

Im using WSL2 and the computer that it runs on is the only one in the network (or outside the network) who can reach the Server through the IP it provides. Everyone else gets "connection time-out"

@aronwk-aaron
Copy link
Member

aronwk-aaron commented Dec 9, 2021

are you port forwarding 5000?
are they using your public IP?

@Br3akout
Copy link
Author

Br3akout commented Dec 9, 2021

are you port forwarding 5000? are they using your public IP?

I guess so. The server says: Running on http://[someipadress]:5000/
They cant connect with my public IP from my windows machine and the cant connect to http://[someipadress]:5000/ either.

@aronwk-aaron
Copy link
Member

then you don't have port forwarding setup in your router

@Br3akout
Copy link
Author

It was set, I recently learned that it is a WSL issue that prohibits anyone from outside the home network to connect to anything on the WSL distribution. I switched to an VPS and now everything works.

@bingo5387
Copy link

Another possible solution for this is using LogMeIn Hamachi. LogMeIn Hamachi provides you with an IP address which you can manually set app.py to use (replace 0.0.0.0 near the bottom). The downside is that anyone else accessing the site needs to download it as well and join a network you create, which is limited to 5 people, including yourself (on the free version). Also not sure if this works in WSL2 or not, I did it in WSL1. I'm trying to get this working for the actual server as well, but I haven't had luck so far.

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

3 participants