essay-org / essay

personalise blog system
MIT License
949 stars 277 forks source link

2.3.0 局域网 访问失败 #30

Closed yoog568 closed 5 years ago

yoog568 commented 5 years ago

您好,使用2.3.0版本本地电脑部署成功,可是为什么在手机访问电脑ip+port确实不通?手机和电脑明明是在一个局域网中的

yoog568 commented 5 years ago

换端口号也不行

yoog568 commented 5 years ago

config中的改为 host: '192.168.0.106' 就可以了,可是为什么

wmui commented 5 years ago

config中的host是全局配置的,你监听127.0.0.1,局域网是肯定访问不了的