Unhandled error: Error: getaddrinfo ENOENT undefined:4724

I write a serverteste case in my workplace,it can’t run sucessful in my computer,but ok in my workmate’pc.
The LogInfo :

e[36minfoe[39m: Welcome to Appium v1.4.13 (REV c75d8adcb66a75818a542fe1891a34260c21f76a)
e[36minfoe[39m: Appium REST http interface listener started on 127.0.0.1:4725
e[36minfoe[39m: [debug] Non-default server args: {“address”:“127.0.0.1”,“port”:4725,“sessionOverride”:true}
e[36minfoe[39m: Console LogLevel: debug
e[36minfoe[39m: e[37m–>e[39m e[37mGETe[39m e[37m/wd/hub/statuse[39m e[90m{}e[39m
e[36minfoe[39m: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.4.13”,“revision”:“c75d8adcb66a75818a542fe1891a34260c21f76a”}}}
e[36minfoe[39m: e[37m<-- GET /wd/hub/status e[39me[32m200e[39me[90m 10.749 ms - 105e[39m e[90m{“status”:0,“value”:{“build”:{“version”:“1.4.13”,“revision”:“c75d8adcb66a75818a542fe1891a34260c21f76a”}}}e[39m
strat to set capabilities…
finish to set capabilities…
appActivity:com.xxsj.union.GetAndroidInformationAcitity
e[36minfoe[39m: e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m e[90m{“desiredCapabilities”:{“appPackage”:“com.sy4399.ccdzz”,“appActivity”:“com.xxsj.union.GetAndroidInformationAcitity”,“platformVersion”:“4.2.2”,“udid”:“EYQ4SCCISSYDI7RC”,“platformName”:“Android”,“deviceName”:“EYQ4SCCISSYDI7RC”,“platform”:“ANDROID”}}e[39m
e[36minfoe[39m: Client User-Agent string: Apache-HttpClient/4.5.1 (Java/1.8.0_71)
e[36minfoe[39m: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : platform
e[36minfoe[39m: [debug] Didn’t get app but did get Android package, will attempt to launch it on the device
e[36minfoe[39m: [debug] Creating new appium session 5c9ef337-2d9a-4cda-85ff-198457284721
e[36minfoe[39m: Starting android appium
e[36minfoe[39m: [debug] Getting Java version
e[36minfoe[39m: Java version is: 1.8.0_71
e[36minfoe[39m: [debug] Checking whether adb is present
e[36minfoe[39m: [debug] Using adb from D:\wuyonghua\Tools\Android\sdk\platform-tools\adb.exe
e[33mwarne[39m: No app capability, can’t parse package/activity
e[36minfoe[39m: [debug] Using fast reset? true
e[36minfoe[39m: [debug] Preparing device for session
e[36minfoe[39m: [debug] Not checking whether app is present since we are assuming it’s already on the device
e[36minfoe[39m: Retrieving device
e[36minfoe[39m: [debug] Trying to find a connected android device
e[36minfoe[39m: [debug] Getting connected devices…
e[36minfoe[39m: [debug] executing cmd: D:\wuyonghua\Tools\Android\sdk\platform-tools\adb.exe devices
e[36minfoe[39m: [debug] 1 device(s) connected
e[36minfoe[39m: Found device EYQ4SCCISSYDI7RC
e[36minfoe[39m: [debug] Setting device id to EYQ4SCCISSYDI7RC
e[36minfoe[39m: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
e[36minfoe[39m: [debug] executing cmd: D:\wuyonghua\Tools\Android\sdk\platform-tools\adb.exe -s EYQ4SCCISSYDI7RC wait-for-device
e[36minfoe[39m: [debug] executing cmd: D:\wuyonghua\Tools\Android\sdk\platform-tools\adb.exe -s EYQ4SCCISSYDI7RC shell “echo ‘ready’”
e[36minfoe[39m: [debug] Starting logcat capture
e[36minfoe[39m: [debug] Getting device API level
e[36minfoe[39m: [debug] executing cmd: D:\wuyonghua\Tools\Android\sdk\platform-tools\adb.exe -s EYQ4SCCISSYDI7RC shell “getprop ro.build.version.sdk”
e[36minfoe[39m: [debug] Device is at API Level 17
e[36minfoe[39m: Device API level is: 17
e[36minfoe[39m: [debug] Extracting strings for language: default
e[36minfoe[39m: [debug] Apk doesn’t exist locally
e[36minfoe[39m: [debug] Could not get strings, but it looks like we had an old strings file anyway, so ignoring
e[36minfoe[39m: [debug] executing cmd: D:\wuyonghua\Tools\Android\sdk\platform-tools\adb.exe -s EYQ4SCCISSYDI7RC shell “rm -rf /data/local/tmp/strings.json”
e[36minfoe[39m: [debug] Not uninstalling app since server not started with --full-reset
e[36minfoe[39m: [debug] Skipping install since we launched with a package instead of an app path
e[36minfoe[39m: [debug] Forwarding system:4724 to device:4724
e[36minfoe[39m: [debug] executing cmd: D:\wuyonghua\Tools\Android\sdk\platform-tools\adb.exe -s EYQ4SCCISSYDI7RC forward tcp:4724 tcp:4724
e[36minfoe[39m: [debug] Pushing appium bootstrap to device…
e[36minfoe[39m: [debug] executing cmd: D:\wuyonghua\Tools\Android\sdk\platform-tools\adb.exe -s EYQ4SCCISSYDI7RC push “C:\Program Files (x86)\Appium\node_modules\appium\build\android_bootstrap\AppiumBootstrap.jar” /data/local/tmp/
e[36minfoe[39m: [debug] Pushing settings apk to device…
e[36minfoe[39m: [debug] executing cmd: D:\wuyonghua\Tools\Android\sdk\platform-tools\adb.exe -s EYQ4SCCISSYDI7RC install “C:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk”
e[36minfoe[39m: [debug] Pushing unlock helper app to device…
e[36minfoe[39m: [debug] executing cmd: D:\wuyonghua\Tools\Android\sdk\platform-tools\adb.exe -s EYQ4SCCISSYDI7RC install “C:\Program Files (x86)\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk”
e[36minfoe[39m: Starting App
e[36minfoe[39m: [debug] Attempting to kill all ‘uiautomator’ processes
e[36minfoe[39m: [debug] Getting all processes with ‘uiautomator’
e[36minfoe[39m: [debug] executing cmd: D:\wuyonghua\Tools\Android\sdk\platform-tools\adb.exe -s EYQ4SCCISSYDI7RC shell “ps ‘uiautomator’”
e[36minfoe[39m: [debug] No matching processes found
e[36minfoe[39m: [debug] Running bootstrap
e[36minfoe[39m: [debug] spawning: D:\wuyonghua\Tools\Android\sdk\platform-tools\adb.exe -s EYQ4SCCISSYDI7RC shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.sy4399.ccdzz -e disableAndroidWatchers false
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunnere[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrape[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1e[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServere[39m
e[36minfoe[39m: [debug] e[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1e[39m
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Loading json…
e[31merrore[39m: Unhandled error: Error: getaddrinfo ENOENT undefined:4724
at Object.exports._errnoException (util.js:870:11)
at errnoException (dns.js:32:15)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:78:26) context: [POST /wd/hub/session {“desiredCapabilities”:{“appPackage”:“com.sy4399.ccdzz”,“appActivity”:“com.xxsj.union.GetAndroidInformationAcitity”,“platformVersion”:“4.2.2”,“udid”:“EYQ4SCCISSYDI7RC”,“platformName”:“Android”,"device]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Registered crash watchers.

It seems the port 4724 was used ,but It can start the server when I used the command:appium -p 4723 -bp 4724.
So I can’t find what the problem it is .I hope I can get somehelp here

@jobbin : Don’t use 4724 for bootstrap port…use some other number in between 0-65535.
if i am any thing wrong let me know plz…