DEV Community

Discussion on: Appwrite + React Native

Collapse
 
fernandoamz profile image
Fernando Amezcua

Hey there, Have you tried change the file sdk instead localhost use your ip

import {Appwrite} from 'appwrite';

const sdk = new Appwrite();
// Fill with your Appwrite API endpoint and Project ID!
sdk
.setEndpoint('http://YOUR_IP_ADDRESS/v1')
.setProject('12332170921f');

export default sdk;
Enter fullscreen mode Exit fullscreen mode
Collapse
 
alfirus profile image
alfirus

I did using ip, but not solve the issue. I checked port, it is open.