Reputation: 21
I'm trying to run the Appium server but it is giving this error
Could not connect to Appium server URL 'http:// 127.0.0.1:4723/wd/hub'. 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'.
I have unabled the --alloe cors and the server is already running in the 127.0.0.1:4723
Upvotes: 0
Views: 1318
Reputation: 11
npm install --global kill-port
kill-port --port 4723
Note: You are currently using an old version of Appium. Please migrate to the latest version of the Appium Java client. After upgrading, the framework will need to be revamped accordingly.
Upvotes: 1