A simple UPnP library for Java
You can download upnp4j from my maven repo: https://maven.pkg.github.com/cyberflamego/upnp4j
under the group me.notom3ga
, artifact upnp4j
and version 1.0
.
(Added my gh packages repo (with permission, see below) as the original one went down)
To open port 25565 with TCP use:
UPnP4J.open(25565, Protocol.TCP);
upnp4j is a continuation of WaifUPnP, which is licensed under LGPL 2.1.