Getting Failed to start agent port error

Hi,

I am getting “Failed to start port error” .

Please find the attached screen shot.

Could you help me to resolve this issue.

Hi @sudhakar

Thank you for letting us know about this issue.

There are two things you can try to get around this issue:

Using the command prompt:

  1. Open Windows Command Prompt
  2. Type netstat -a -b -o | findstr 8889
  3. See the output. The last number is the process ID occupying the port.
  4. Run the command taskkill /PID <process id> /F

If these steps caused your Appium Studio to shut down, try the following:
Using Appium Studio

  1. Launch Appium Studio
  2. Click on File → Agent Properties
  3. Change the port to 8888 and click on run
  4. Close Appium Studio
  5. Relaunch Appium Studio and change the port to 8889

We will look in to this issue, thanks again for letting us know about it.

1 Like