Monitor TCP/UDP port status

I already know how to use Prometheus/blackbox to monitor the HTTP server. But is it possible (and how) to monitor if the server is listening on a port (for example 8000) ? Or can some other plugin do that ?