why macos can'not connect. wda port 8100?
Hello, could you please help me when you have time? Thank you. I'm using Xcode to run WebDriverAgent (WDA) on an iPhone XR. The iPhone can successfully access 127.0.0.1:8100 via Safari and see the device information in JSON format. However, when I try to access the iPhone's IP address with port 8100 (e.g., 192.168.x.x:8100) from my Mac, it fails to connect. I also tried using Postman, which returned a 503 error. What should I do to access the WDA port from my computer over the local network?
- The device info like OS version
- What is the response like
curl -i -X GET <url> - Did you see any logs in the device log?
I have solved a situation where this occurs!!! It should be you. iOS On the Wda .The application needs to turn on the network permission.
Hi @niany-1 I've got the same trouble with WDA on iPhone 15 and still not understand where to turn on the network permisson Could you tell more about it, pls?
OK, solved this by these steps
- added NSLocalNetworkUsageDescription to Info.plist for WebDriverAgent-Runner
- added NSBonjourServices with element _http._tcp After installation go to apps permissions and check network permissions for WebDriverAgent-Runner and set active for WLAN if it's not After these actions WDA start working on iPhone 15 on the network