-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to connect to remote frida-server #582
Comments
you can do this: adb forward tcp:27042 tcp:27042 |
@cvt126 ios |
@ooszero Make sure that your iPhone is paired/trusted to the macos. |
server side:
client side:
Just tried with latest frida 12.1.0 and everything works fine. |
My iPhone7p:~ root#
|
You can check launchd plist that starts frida and change command line Step by step guide.
From:
To:
|
or
connection failed It is necessary to manually call connection success |
Have no idea why this happens (it maybe be due to services startup sequence). But at least you can run it manually and this works. P.S. It doesn't matter where |
PID:901 launchd |
I also had this issue and used the workaround by adding -l 0.0.0.0 when starting frida-server. Does someone know why it does not work without this parameter? A fix would be nice. |
@in7egral @baptx @ooszero
to
3.use |
hello world |
Are you using any proxy in Android? |
@xiaomiwang |
can't locate frida-server on my Catalina. It's not part of frida-tools. |
hi. I hade the same problem, and finally I solve that: please change your version of frida on both android device and PC. in my situation I had version 4.2.17 which I changed them to 4.2.18 and fortunately worked! |
this is help to me, nice |
Encountered similar but not same error
Reason:
Fixed by:
|
macOS:10.13.5
python3.7
frida: 12.0.8
frida-tools: 1.1.0
ios: iPhone7plus 11.3.1
frida-server: 12.0.8
iPhone7p:~ root# lsof -i :27042
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
frida-ser 419 root 5u IPv4 0xf4c60ab784ee7fd7 0t0 TCP localhost:27042 (LISTEN)
iPhone7p:~ root# ps -e | grep frida
419 ?? 0:00.01 /usr/sbin/frida-server
2257 ttys000 0:00.00 grep frida
iPhone7p:~ root#
macOS:
oooo:~ oooo$ iproxy 27042 27042
waiting for connection
accepted connection, fd = 4
waiting for connection
Number of available devices == 0
No connected device found, terminating.
oooo:~ oooo$ frida-ps -H 192.168.1.4
Failed to enumerate processes: unable to connect to remote frida-server
oooo:~ oooo$ frida-ps -R
Failed to enumerate processes: unable to connect to remote frida-server: Error receiving data: Connection reset by peer
oooo:~ oooo$
The text was updated successfully, but these errors were encountered: