Android Question DEBUG ON REMOTE DEVICE

Gianni Sassanelli

Active Member
Licensed User
Longtime User
Hi ,
I apologize for the repeated question

I need to debug on remote debug

I have this scenario:
a dev PC with B4A
my dev PC has 2 IP addresses:
192.168.0.10 Lan
10.10.5.1 vpn (this is that i wont to use)


a Remote device in witch I have installed B4a Bridge
the remote device is connected in VPN with my development pc.
the remote is connected to internet
the remote device is connected by VPN with my DEV PC
now the remote device has 2 addresses:
the first ip address is from it internet connection xxx.xxx.xxx.xxx
the second address is vpn address of the connection with me 10.10.5.2

i think that i have problem with debug because B4A Bridge only sees the physical network of remote device.
if it were possible to be able to select the listening interface on B4a Bridge, I could probably be able to debug on remote devices

Can help me Please ?

Thanks for your attention
 

Sagenut

Expert
Licensed User
Longtime User
I think you could ask for the latest B4A Bridge source code and modify it to specify the desired IP address to use.
Maybe @Erel could think to add this option to next version of B4A Bridge if it will result successfull.
 
Upvote 0

Gianni Sassanelli

Active Member
Licensed User
Longtime User
I think you could ask for the latest B4A Bridge source code and modify it to specify the desired IP address to use.
Maybe @Erel could think to add this option to next version of B4A Bridge if it will result successfull.
i have tried this way but i don't have enough knowledge to do this
I hope someone can help me
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
Please share the link where to retrieve the source code or make it available, so other can check it.

*** EDIT ***
Found it
 
Last edited:
Upvote 0

Gianni Sassanelli

Active Member
Licensed User
Longtime User
in this forum there are the source of b4a bridge
NOTE that
it is not enough to change the ip address but the app must work on the second network card which is NOT a physical card but a virtual network card created by the VPN driver
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
I do not have a VPN to test.
So probably I am out of game.
Sorry
 
Upvote 0
Top