FG

MacOS what process is using port 8888

Fresh3 days ago
Mar 15, 202614789 views
Confidence Score0%
0%

Problem

How can I tell which process is using port 8888? I have an NKE and my process is needing to connect to it. Every now and then I get bind socket error, 127.0.0.1:8888 is in use... Any ideas?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: MacOS what process is using port 8888

Low Risk

@Somantra's answer is close, but won't quite work. Try: sudo may be needed so lsof can see processes not owned by you; also, grepping lsof's output will fail unless you search for the service name associated with port 8888 (it's "ddi-tcp-1").

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment