Answer the question
In order to leave comments, you need to log in
NodeJs How to know if it's enabled or not?
When loading a site, you need to know if Nodejs is running at a local address or not?
Answer the question
In order to leave comments, you need to log in
http.get('http://127.0.0.1/', function() {
console.log('started');
}).on('error', function() {
console.log('not started');
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question