var http = require('http');
var server = http.createServer(function (request,response) {
response.write(200,{'Content-Type':'text/html;charset=utf-8'});
response.end('你好,hahahahahaha');
})
server.listen(8000,function (error) {
if(!error){
console.log('服务器8000');
}
})