portserver
Python 3 module to find unused network ports to bind to
Install
- All systems
-
curl cmd.cat/portserver.sh
- Debian
-
apt-get install python3-portpicker
- Ubuntu
-
apt-get install python3-portpicker
- Kali Linux
-
apt-get install python3-portpicker
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install python3-portpicker
- Raspbian
-
apt-get install python3-portpicker
- Dockerfile
- dockerfile.run/portserver
python3-portpicker
Python 3 module to find unused network ports to bind to
Portpicker provides an API to find and return an available network port for an application to bind to. Ideally suited for use from unittests or for test harnesses that launch local servers. This package installs the Python 3 version.