Skip to content

About

使用 Node.js 创建一个简单的 HTTP 服务器

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

simple-http-server

这是一个使用 Node.js 创建的一个简易的 http 服务器。

安装

克隆仓库到本地

git clone git@github.com:zhuxucome/simple-http-server.git

运行

node server.js

默认情况下,服务器将在端口8888上运行。如果您想使用其他端口,请将端口号作为第一个参数传递给服务器。

node server.js 3000

About

使用 Node.js 创建一个简单的 HTTP 服务器

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages