# wcode_html **Repository Path**: wangtaoooo/wcode_html ## Basic Information - **Project Name**: wcode_html - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-01-18 - **Last Updated**: 2024-01-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 安装: ``` npm install http-server -g ``` 启动服务器: ``` http-server ``` 指定IP和PORT: ``` http-server -a 127.0.0.1 -p 8090 ``` ssl密钥生成:(默认在本地) ``` openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem ``` 启动服务器: ``` http-server -S -C cert.pem ``` 访问: ``` https://192.168.0.111:8080/ ```