wsvn53 / scrcpy-mobile

Ported scrcpy for mobile platforms, to remotely control Android devices on your iPhone or Android phone.
MIT License
594 stars 35 forks source link

failed to connect to '192.168.1.139:5555': No route to host #90

Closed sonce closed 2 weeks ago

sonce commented 2 weeks ago

IOS 18.1链接显示 failed to connect to '192.168.1.139:5555': No route to host

其他地方可以链接成功如:Windows 上的 scrcpy-gui

日志:

2024-11-09 12:31:31.738 scrcpy-ios[328:6882] invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution.
2024-11-09 12:31:32.959 scrcpy-ios[328:9829] adb disconnect: disconnected everything
2024-11-09 12:31:32.960 scrcpy-ios[328:9829] adb connnect code: 1, message: failed to connect to '192.168.1.139:5555': No route to host
2024-11-09 12:31:32.961 scrcpy-ios[328:9829] adb get-serialno: error: no devices/emulators found
2024-11-09 12:31:37.093 scrcpy-ios[328:6882] Show More Menu
2024-11-09 12:31:39.014 scrcpy-ios[328:6882] Current saved UserInterfaceStyle: 0
2024-11-09 12:31:39.018 scrcpy-ios[328:6882] LogPath: /var/mobile/Containers/Data/Application/0E91D486-5942-4B04-BDE7-DF132258CCA9/Documents/scrcpy@2024-11.log, Size: 28327
2024-11-09 12:31:39.020 scrcpy-ios[328:6882] LogPath: /var/mobile/Containers/Data/Application/0E91D486-5942-4B04-BDE7-DF132258CCA9/Documents/scrcpy@2024-11.log, Size: 28500

IMG_0004

wsvn53 commented 2 weeks ago

这个通常是没给app本地网络权限,设置里可以检查一下

sonce commented 2 weeks ago

图像 有给权限的。

sonce commented 2 weeks ago

哦。知道了。不好意思。我以为给了 无线局域网就可以了。