Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LocalHost:3000 not loading my Meteor app

Tags:

meteor

Hey so I'm working through the tutorial for writing an app with Meteor on a Windows laptop. The localhost:3000 is not loading my app. Curious if anybody has an idea as to solutions? thanks

like image 994
Mustafa Hill Avatar asked Apr 01 '15 01:04

Mustafa Hill


3 Answers

This worked for me:

Open command prompt/terminal and change the working directory to your app directory(simple-todos in my case). So,

cd simple-todos

Setup port for your meteor app:

meteor --port 3000

Or a different port using:

meteor --port 3030

If you have a settings file (settings.json) for the meteor app, you can start the app using the command below:

meteor --settings settings.json

If successfully created the port, you will get a response like this:

[[[[[ ~/public_html/simple-todos ]]]]]

=> Started proxy.
=> Started MongoDB.
=> Started your app.

=> App running at: http://localhost:3000/

like image 152
Abhijith Sasikumar Avatar answered Sep 25 '22 05:09

Abhijith Sasikumar


Try 127.0.0.1:3000. I had the same problem (although I am on a mac) this morning. Localhost wouldn't run. Switched to 127.0.0.1 and it works.

like image 26
Envious Avatar answered Sep 21 '22 05:09

Envious


0.0.0.0:3000

or meteor --port 3030 (set the port 3030).

And check your mongodb/node install.

like image 31
Dima Shirokoff Avatar answered Sep 22 '22 05:09

Dima Shirokoff