ipfs-shipyard / java-ipfs-http-client

A Java implementation of the HTTP IPFS API
MIT License
538 stars 243 forks source link

Can this client be used to connect an android app to an IPFS node not runing in local? #145

Closed KebAz closed 4 years ago

KebAz commented 4 years ago

I'm wondering if we can integrate this client in an android application in order to connect to an IPFS node IPFS which is not runing in local ( "192.168.1.50" for example) ?

KebAz commented 4 years ago

I'm wondering if we can integrate this client in an android application in order to connect to an IPFS node IPFS which is not runing in local ( "192.168.1.50" for example) ?

Yes, by using: IPFS ipfs = new IPFS("/ip4/192.168.1.50/tcp/5001"); . But we should ensure that the API server is listening on "192.168.1.50".