- 博客(1)
- 收藏
- 关注
原创 安装node.js 并开启第一个服务
一、 node.js 官网下载安装 官网地址:https://nodejs.org/en/ 二、 建立 node.js web服务 const http = require('http'); const server = http.createServer((req,res)=>{ res.end('hello enjoy111122233344') }) server.listen(777,'127.0.0.1',()=>{ console.log('服务器启动成功'); } 三、启动n
2022-01-10 10:02:10 790
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人