Faccing this issue

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’.

Are you running the appium server before? (Go into cmd / terminal and type appium and hit enter.)

Run the appium server first and then start Appium-Inspector