Category : upnp

I am trying to open a server socket on a specific port forwarded by the library miniupnpc. The problem is that I can’t reach my server from other external devices in any way. Here’s the from miniupnpc import UPnP import socket upnp = UPnP() def forward_port(port_no): upnp.discoverdelay = 10 upnp.selectigd() upnp.addportmapping(port_no, ‘TCP’, upnp.lanaddr, ..

Read more