Node js API in production server

I need to run node.js API which saved in Production server. In local server, it works perfectly but in live it show error that 'site cant be reached'. We are using server Linux apache of godaddy. Node.js is successfully installed in server.I am using Putty as terminal in windows.

I dont know why this happen when it comes to live. No error in code. Is there any changes need to URL that we run? And am testing result in Postman . The basic code is given below and I test url it with "127.0.0.0.1:3000"(doesnt work). I recheck it with replacing IP with server IP, system IP, localhost but no result. Thanks in advance.

var http = require('http');

http.createServer(function (req, res) {

res.write('Hello World!');

res.end();

}).listen(3000);

链接地址: http://www.djcxy.com/p/52518.html

上一篇: Mule 3:在不同主流线程上的异步回复

下一篇: 生产服务器中的节点js API