[B4X] PocketBase - Open Source backend in 1 file
PocketBase was created to assist building self-contained applications that can run on a single server without requiring to install anything in addition. The basic idea is that the common functionality like crud, auth, files upload, auto TLS, etc. are handled out of the box, allowing you to focus...

If you develop with B4J with Pocketbase, then you simply enter the localhost address (127.0.0.1:8090) and reach the pocketbase api.
B4X:
xPocketbase.Initialize("http://127.0.0.1:8090") 'Localhost -> B4J only
However, in order to access the pocketbase api via smartphone, the pocketbase api must be started using a different command.
The documentation says to start the api like this:
B4X:
pocketbase serve
To solve this, the Pocketbase api must be started with the following parameter:
B4X:
pocketbase serve --http=0.0.0.0:8090
0.0.0.0
makes the server listen on all network interfaces (not just localhost):8090
specifies the port (you can change it if needed)
B4X:
Public xPocketbase As Pocketbase
#If B4J
xPocketbase.Initialize("http://127.0.0.1:8090") 'Localhost -> B4J only
#Else
xPocketbase.Initialize("http://192.168.188.142:8090") 'IP of your PC
#End If