💻 Software
How can I close a port (seen open on netstat)?
Fresh5 days ago
Mar 15, 202615776 viewsConfidence Score0%
0%
Problem
I used netstat and I see some ports open that I want closed. How do I close them? The computer is a Mac running OS X
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I close a port (seen open on netstat)?
Low Risk
Try using lsof | grep portnumber to get the process that has it opened. You could also use the option to let do the filtering for a TCP port lsof -i TCP:portnumber
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix