Appium even phone failed error:android bootstrap socket crashed:Error:getaddrinfo enotfound localhost undefined:4724

Source: Internet
Author: User
Tags appium

problem: Appium execution, connected to mobile phone report the following errorerror:android bootstrap socket crashed:Error:getaddrinfo enotfound localhost undefined:4724At socket.<anonymous> (lib/bootstrap.js:87:21)At Emitone (events.js:90:13)At Socket.emit (events.js:182:7)At connecterrornt (net.js:994:8)At _combinedtickcallback (internal/process/next_tick.js:74:11)At Process._tickcallback (internal/process/next_tick.js:98:9) Workaround:add "127.0.0.1 localhost" to the Hosts file (Hosts files directory in Mac and Linux:/etc/hosts)

Appium even phone failed error:android bootstrap socket crashed:Error:getaddrinfo enotfound localhost undefined:4724

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.