❔ Address already in use after a kill process
My program keeps getting me this error
I tried
sudo kill -9 $(sudo lsof -t -i:3306)` but the error is still persistent. My full code here: https://pastebin.com/gXTwAu6S
Is there workaround other than restarting a computer?Pastebin
Big Databank Server - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
9 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I tried
lsof -i:5001
to see if another app uses that port, but it does not show anything
There is another code file that reads a SQL table on port 3306, would that be the "culprit"?Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I just restarted my computer, that doesn't work either
Maybe using completely another port is the solution then
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Ahhh I see
Is there a similar command for MacOS (I'm on Monterey)
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I see
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.