var http= require('http');var server= http.createServer(function(req,res){ res.writeHead(200,{"Content-type":"text/html;charset=UTF-8"}); res.end("<h2>我是标题</h2>")});
server.listen(3000,"127.0.0.1");