Appium has failed to start on within 60000ms timeout

I am working on a Python project since 1 year, it was all working just fine. But from last 5 days I am getting an error message as:
appium.webdriver.appium_service.AppiumServiceError: Appium has failed to start on within 60000ms timeout
E Original error: b’\x1b[35m[HTTP]\x1b[39m Could not start REST http interface listener. The requested port may already be in use. Please make sure there is no other instance of this server running already.\nFatal Error: listen EADDRINUSE: address already in use\n at Server.setupListenHandle [as _listen2] (node:net:1334:16)\n at listenInCluster (node:net:1382:12)\n at doListen (node:net:1520:7)\

I have tried multiple troubleshooting like restarting/ shutting down mac or killing processes from Activity Monitor but No Luck.
Please help me, Thanks in Advance.

you can see here how to shut down a process in mac via terminal:

according to the logs, the port is occupied, you can try to run appium on another port, just add -p [port number] if you start appium from command line, if you don’t and you start appium programmatically you should be able to pass this argument when you start it as well, check on your client’s docs. additionally, for java client for example, you can tell appium just to use any free port and you should not be worried.