LocalHost: 3000 does not load Meteor app

Hey, so I'm working on a tutorial for writing an application using Meteor on a Windows laptop. Localhost: 3000 does not load my application. Curious if anyone has any ideas regarding solutions? thanks

+6
source share
4 answers

This worked for me:

Open a command prompt / terminal and change the working directory to the application directory (simple in this case). In this way,

cd simple-todos 

Installation port for your meteor application:

 meteor --port 3000 

Or another port using:

 meteor --port 3030 

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

 meteor --settings settings.json 

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

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

=> Initial proxy.
=> MongoDB launched.
=> Launched the application.

=> The application runs on: http: // localhost: 3000 /

+6
source

Try 127.0.0.1:3000 . I had the same problem (although I'm on a poppy) this morning. The local host did not start. Switched to 127.0.0.1 and it works.

+4
source
 0.0.0.0:3000 

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

And check the installation of mongodb/node .

+3
source

In my configuration, 127.0.0.1∗000 also works. However, I found out that I have a different configuration in the hosts file. I installed 127.0.0.1 at www.localhost.com (because I also run Magento locally, which is why this is necessary).

www.localhost.com//000 works for me.

+1
source

Source: https://habr.com/ru/post/984533/


All Articles