Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on A Unix Utility to Know About: lsof (2009). Parent comment
lsof | grep TCP
netstat --ip -a -p
Those particular options mean to show just IP ports (UDP/TCP), in all statuses (active, listening) and to display the local process which is involved.
lsof | grep TCP