Hello,
I have an appium server started by code. i’m trying to ping it via browser.
OS: Windows 10 latest update
Appium server version: 1.9.0
Platform: connecting via chrome
forgot to mention but this problem started when i tried to connect via .Net Core’s AndroidDriver to an emulator.
if i connect to 0.0.0.0/wd/hub i get errors, but if i connect to localhost:27721/wd/hub everything works fine
you should add it to host file
Thannk you for the prompt response. Unfortunately, this did not work. I’ve tried adding the following lines with no success:
- 127.0.0.1 0.0.0.0
- 0.0.0.0 127.0.0.1 (i know this isn’t the syntax but why not try )
having read up i found that 0.0.0.0 represents a non-routable path (see https://www.lifewire.com/four-zero-ip-address-818384). any suggestions on how to proceed?
I have the same problem when using Ruby to connect. It’s ok if I use Java.
If you can not connect to the default host, you should change the default host 0.0.0.0 to another then try again.
Hi @Aleksei , quick question. What if i want to start Appium server on mac on port 4723 ?
My code :
public void startAppium() throws Exception {
//String[] OS_LINUX_RUNTIME = { “/bin/bash”, “-l”, “-c” };
String command = “/bin/bash -l -c appium --session-override -p 4724”;
String output = runCommand(command); //run command on terminal
But problem is:
e[35m[Appium]e[39m Appium REST http interface listener started on 0.0.0.0:4723
Not sure why it started on 4723.
Please help
@gunjan_kapoor when you do same in console does it behave same? Try change “-p” to “–p”.