Method createUser not found 404


#1

hello I am using react native with meteor.
When I excute the following code on local meteor server there is no problem.

Accounts.createUser({username:‘olla’,password:‘123’},(err)=>{
if(err)
{
alert(err.message)
}
else
alert(Meteor.userId())
})

but when I deploy to galaxy server I got this error
method createUser not found 404
any help please


#2

Did you connect to the meteor server through your react native app?

Meteor.connect(“ws://yourwebsite.com/websocket”);