FG
💻 Software

How to find and stop a process on a Mac

Fresh7 days ago
Mar 15, 202654312 views
Confidence Score0%
0%

Problem

How can I find the process id and stop the process that is running on port 8080 on a Mac? On Ubuntu this works: and I can find the process and run: didn't seem to work, how can I do this on Mac OS X Lion?

Error Output

ps -aux

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to find and stop a process on a Mac

Low Risk

For historical reasons, 's options are a tangled and inconsistent mess. On OS X Lion, any of these should work: I don't have an ubuntu box handy to test, but according to the man page, isn't the right way to do it there either:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment