if you want to find out which process belongs to a socket in FreeBSD, type:
sockstat -4l
Category: FreeBSD