ohadgk / ionic2-meteor-starter

This package bundles ionic2 and meteor. It adds to an ionic2 project meteor abilities. For meteor-ionic2 integration I suggest barbatus/ionic2-meteor atmosphere package.
4 stars 1 forks source link

ERR_CONNECTION_REFUSED when ionic run android --livereload #4

Open ImmanuelSamuel opened 8 years ago

ImmanuelSamuel commented 8 years ago

I get the following error GET http://localhost:3000/sockjs/info?cb=cet7qnmk04 net::ERR_CONNECTION_REFUSED GET http://192.168.0.22:8100/build/fonts/ionicons.woff2?v=3.0.0-alpha.3 I have meteor running on localhost:3000 I also have ionic in livereload

selection_020

I also cannot access it though my browser. I can do the same however if I just run Ionic serve.

ohadgk commented 8 years ago

As written in the readme, you must go to the meteor-core folder and run meteor.

ImmanuelSamuel commented 8 years ago

Yes I have meteor running also. I am able to go to localhost:3000 and see the page add stuff to mongo and can even connect to it when I run ionic serve. I just cant get it to connect if I run ionic run android --livereload. Will try complete reinstall and let you know.

ohadgk commented 8 years ago

when you add the --livereload you tell ionic to serve the application from a proxy server, that might be the break. try to run it without the livereload and tel me if that works.

ImmanuelSamuel commented 8 years ago

Yes it works without live reload. Its working now that I am running it through a domain.