计算机知识分享网

【hexo】Hexo修改启动时的默认端口号

默认使用4000端口
hexo s
临时修改启动端口:
hexo s -p 80
永久修改启动端口:
vim node_modules\hexo-server\index.js

修改其中默认的port值。

#Hexo