logo
Search
showing results for - "how to access node js server from another computer"
Deandra
01 Apr 2017
1/* 
2Change the host so you're not listening on localhost(127.0.0.1)
3*/
4const port = 3000;
5const host = '0.0.0.0';
6
7app.listen(port, host, () => {
8  console.log('Listening on port ' + port);
9});
source
similar questions
how to convert local server to online server node jsnode js creating serversimple server nodejsnode js server side javascripthow to create a server in node jsnodejs start servercreate server with node jsnodejs server codenodejs open default browser on specific web pageserver port node jshow to make a local server using node jsnode js require all function from another filenodejs import module from local fileservers for node jshow to run different node app on server different domainsimplementing node js app on server and runing npmconnect rds using nodehow can node js file be servenodejs http get request to external server
queries leading to this page
connect to node server from another computerhow to access node js server from another computerhow to access node js server from another computer
privacy policyterms of useinstagram
Crafted with  ♥  for everyone

sign in to continue
your answer for
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
sign in to continue
ask question on maxinterview
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content
please be clear, to the point and respectful
sign in to continue