A new session could not be created. (Original error: An unknown server-side error occurred while processing the command. (Original error: unknown error: Device 15023522507759 is already in use

HI All,
Please help one this , i trying to execute my code, it will run correctly and if execute multiple times with same test case on that time i am getting failure says error is :

** A new session could not be created. (Original error: An unknown server-side error occurred while processing the command. (Original error: unknown error: Device 15023522507759 is already in use**

Thank and Regards,
Suresh K

Hi
Probably you didn’t “killed” the port the appium using.
try to stop the appium and close the port with the following command in command line:

1, Run CMD
2.insert the next command and click Enter at the end: netstat -a -n -o
3. then , look for the appium port which is probably 4723 and remember the PID number.
4. run the next command: taskkill /F /PID #PID#
Instead of #PID# just use the PID number from point#3.
5/run Appium again .it should work now.

Thank You Yaniv_Eliav, for replaying and helping to me .
I was completely new for APPIUM ,so i am not handling this kind of error.
I will try and Reply You.
Thanks and Regards,
Suresh K