[yz@localhost ~]$ lsof -i COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME node 10444 yz 27u IPv4 1356954 0t0 TCP localhost:45393->localhost:36542 (ESTABLISHED) postgres 17442 yz 5u IPv6 824828 0t0 TCP localhost:7404 (LISTEN) postgres 17442 yz 6u IPv4 824829 0t0 TCP localhost:7404 (LISTEN) postgres 17442 yz 8u IPv6 824834 0t0 UDP localhost:37288->localhost:37288