-
Notifications
You must be signed in to change notification settings - Fork 861
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
UPnP-IGD using the miniupnpc python package doesn't work. #2119
Comments
@zadjii - Does your port, i.e., 12345, listen? I think you could check it by " |
@zadjii - I said command |
Closing out old issues, if you're still having issues on newer versions of Windows please open a new issue. |
15063 - Creator's Update
I'm trying to use the python version of miniupnp for IGD (port forwarding), and it seems as though it isn't working when hosted in WSL.
They have a test script here: link
Installation of the test script:
sudo pip install minipnpc curl https://raw.githubusercontent.com/miniupnp/miniupnp/master/miniupnpc/testupnpigd.py > main.py python main.py
This should print an address, eg
http://67.171.123.456:12345
In another terminal, run
curl http://67.171.123.456:12345
with the address from before. Or you can open it up in your browser. Or whatever you want - though my Android phone doesn't seem to be able to get the page.Expected output:

(with your IP though)
What actually happens:
The curl just hangs.
I can see that the port is forwarded in the router's UPnP settings just the same as it is from the working version on my linux box on my desk, so I figure there's a chance there's some WSL has a part to play.
The text was updated successfully, but these errors were encountered: