Testing Hoodie.js app on mobile: What URL to use? -
previously testing app on mobile using ip followed whichever localhost on. instance, if on localhost:3000, plug 172.20.10.2:3000 mobile safari url bar view app on mobile.
now i've installed hoodie.js, , i'm starting server "hoodie start" in command line, i've been unable test on mobile using same method.
this see in terminal when server starts:
couchdb started: 127.0.0.1:6003 waiting couchdb [---*--] success run static hook: server.pack.pre www:
127.0.0.1:6001 admin: 127.0.0.1:6002
i've tried above urls , these urls:
172.20.10.2:6003 172.20.10.2:6001 172.20.10.2:6002
and each time mobile safari says server cannot found. can advise?
the reason hoodie not accessible outside computer hoodie binds private 127.0.0.1
address. can overwrite setting hoodie_bind_address
environment variable.
on mac, it's simple hoodie_bind_address=0.0.0.0 hoodie start
, i'm not sure how syntax on windows
Comments
Post a Comment