Anyone knows how to make appium working in selendroid mode instrumentation server to run on different port other than 8080

Can anyone suggest how to change the default 8080 port used be selendroid mode including instrumentation server ?

in my device 8080 is used by some process and selendroid is not able to launch the application. It has become a blocker

You probably need to pass the port as the value of --selendroid-port when you launch Appium, like “node ${path_to_appium} --selendroid-port ${selendroid_port}”