Appium server is not getting started in Ubuntu

Hi everyone,

I am currently using two mobile devices with two different apps, with two different ports, when doing it in Ubuntu, when running the application it shows session is not created in appium server, I tried adding several combinations of url still facing the same issue. Attaching the screenshot below for more clarity of the code and the error.

It would be very helpful, if anyone is assisting me. Thank you!

@Aleksei

The server log explicitly states the list of possible URLs that might be used in clients. It is just necessary for one to read it…

So, do u know how to resolve this ?

But it worked fine in appium inspector as remote host : 127.0.0.1. port : 4724. I tried adding the same URL in the code as well, but same error that session is not created

try to use localhost instead of 0.0.0.0

I tried, but still the same issue