Check open ports on Mac using lsof -i :3000, netstat, and nc. Covers local port checking and testing remote hosts, with real command output examples.