Getting the appium server error back to back help me to resolve this error

Could not connect to Appium server URL ‘http://127.0.0.1:4723/’. Please check if the server is running and the URL is correct (valid URLs can be found at the start of the Appium server log). If you are using the Inspector’s browser version, ensure the server has been started with ‘–allow-cors’.

Is the server running? How are you starting it?

my server is running

Looks like Appium 1. Unsupported for almost 2 years now. Update to Appium 2 for best results.