A simple tool to find an open port on the current machine
82
Port search bounds validation with clear exhaustion errors
Range options
100%
100%
Upper bound
100%
100%
Invalid bounds
0%
60%
Exhaustion signal
50%
50%
Promise usage
100%
100%
Single free TCP port lookup (callback or promise)
Promise API
100%
83%
Callback API
100%
100%
Range handling
100%
100%
Host targeting
100%
100%
Default configuration
70%
100%
Deterministic next candidate helpers for ports and sockets
Port discovery
100%
100%
Default tuning
100%
100%
Deterministic stepping
25%
50%
Socket sequence
90%
100%
Option forwarding
80%
100%
Free Unix socket or Windows pipe path discovery
Socket lookup API
0%
100%
Base path config
100%
100%
Collision search
0%
100%
Windows pipes
0%
100%
Parent directories
0%
100%
Custom host scanning with default host detection and invalid-host pruning
Default hosts
100%
0%
Promise search
0%
100%
Host option
0%
100%
Prunes invalid
0%
75%
Bounded range
0%
100%
Global configuration of base/highest ports and base socket path
Global port defaults
66%
50%
Invalid range
0%
25%
Multi-port allocation
25%
25%
Exhaustion signaling
66%
33%
Socket base path
100%
66%
Multiple sequential free ports retrieval
Portfinder API
0%
100%
Count handling
0%
100%
Range options
33%
100%
Host forwarding
33%
100%
Error propagation
0%
100%
Install with Tessl CLI
npx tessl i tessl/npm-portfinder