Answer the question
In order to leave comments, you need to log in
How to use UPnP in Python?
There is a certain port that you want to open to the outside. By default, all ports on the computer are open, but outside they are blocked by 1 or 2 routers (with UPnP support - otherwise how would Skype or torrent work?).
Accordingly, it is not clear what needs to be written in the code in order not to forward ports on the router, and the port to which a connection is expected from the outside was opened (forwarded) by itself.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question