Android Question Network is unreachable

M.LAZ

Active Member
Licensed User
Longtime User
Hi
i got this error when trying send data from b4a app to my pc server using b4j
using this example
(ErrnoException) android.system.ErrnoException: isConnected failed: ENETUNREACH (Network is unreachable)
i allow all incoming communication with port.
is there something else to configure ?
 

M.LAZ

Active Member
Licensed User
Longtime User
Make sure that the ip and port are correct. There could also be several firewalls running.

It is easier to start with the Android device as a server. Start with this example: [B4X] [B4XPages] Network + AsyncStreams + B4XSerializator

thanks Erel . it's working now it's an ip problem
yes i'm starting using this example [B4X] [B4XPages] Network + AsyncStreams + B4XSerializator
but Now i want to make a concurrent connections to Server , this Example use just one connection how to modify it?
 
Upvote 0
Top