Ce qui fonctionne sur TCP4 0.0.0.0:5432 pour vérifier le terminal
lsof -i tcp:5432
Anxious Addax
lsof -i tcp:5432
netstat -anp tcp | grep 5432