cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Phase 2: migrate recent content

Accessing a remote database from an Android app

Hi,

I've created a web crawler that fetches some data that I need for a project, then the program connects to the local database to insert the data.

Everything works fine but now I need to access those data from an Android app, I've tried everything I've found online but nothing is working.

I've tried to edit the .conf file adding

dbms.default_listen_address=0.0.0.0

dbms.connector.bolt.address=0.0.0.0:7687

(even with my PC IP address)

No combination seems to work and I don't know why.

This message shows up when I try to run a query.

W/NetUtilInitializations: Failed to find the loopback interface
W/Neo4jDriverIO-2: type=1400 audit(0.0:7406337): avc: denied { read } for pid=1323 name="somaxconn" dev="proc" ino=17289481 scontext=u:r:untrusted_app:s0:c49,c257,c512,c768 tcontext=u:object_r:proc_net:s0 tclass=file permissive=0
W/MacAddressUtil: Failed to find a usable hardware address from the network interfaces; using random bytes: 44:0c:8c:fd:f7:08:21:b8
W/DefaultPromise: An exception was thrown by org.neo4j.driver.internal.async.connection.ChannelConnectedListener.operationComplete()
    java.lang.IllegalStateException: channel not registered to an event loop

I was wondering if it is possible to access a remote database in this way and if so can anyone help me to solve this problem, please?

Thanks,
Davide

0 REPLIES 0