Who is using a port

Terminal
lsof -i :3000
macOSLinux