当前位置: 动力学知识库 > 问答 > 编程问答 >

javascript - Can't connect to local Node App

问题描述:

I just started with a little bit MEAN-Magic by following along this tutorial. It was working pretty good (installation and so on). Now I'm stuck at:

STEP 4: Creating an ExpressJS application

I executed express mytestapp, cd mytestapp, npm installand node app.jsand am able to see the folder structure in the Terminal, but if I open Safari with "http://localhost:3000" I get the message

Safari can't Connect To Server... Safari can't open the page "localhost:3000" because Safari can't connect to the server "localhost"

How can I troubleshoot this? I'm totally new to this. (Not sure if this matters, but I'm working from a mac at the moment).

分享给朋友:
您可能感兴趣的文章:
随机阅读: