By default, the frida-server in android, after installing, runs on port 27042 (127.0.0.1:27042). How can I change this port number to something else like 567 (127.0.0.1:567)? Is there any way?
Since Frida version 6.2.6, you can connect to specific IP/port like this :
# connect to specific IP/port
$ frida-trace -H ip:port -i "open*"
Sample :
$ frida-trace -H 192.168.1.1:1234 -i "open*"