deploy nodejs app

I new to node js .  So I using the node.js sample code. When I run it locally I get Express Welcome to Express. But when I FTP the files up to the server I just get the dir list, not the app. What I'm I doing wrong 

3 comments

Normally Express server doesn't respond with a directory listing...

How do you start/access your server?

0

this is after I ftp the files to my web hosting this is the url the server is on a windows 2016 server 

http://kc8pdr.com/Nodetest/

0

Looks as if you have copied your Node app into some web server doc root, and open it with this web server URL instead of starting your Express app and using your Express server URL in browser

0

Please sign in to leave a comment.