Failed to connect to port 4723: Connection refused

Hi there,

I have a VM running Ubuntu with my Android SDK’s installed, as well as Behat and Selenium for testing. I then have a Windows machine with Appium installed. My VM has a bridged network adapter (tried NAT too). My Android phone is plugged into my Windows machine of course but it is seen by my VM. When I tried run my Behat test on my VM I get the error “Failed to connect to port 4723: Connection refused”

I have set in my behat.yml file as well as the same set in Appium. I have tried with the same error.

My deviceName is set correctly in my CapabilitiesExtension.php file.

Does anyone have any suggestions as to what I may need to fix?

Thank you,