赞
踩
https://stackoverflow.com/questions/54890019/webpack-devserver-host-0-0-0-0-not-working-on-windows
0.0.0.0 is a non-routable meta-address used to designate an invalid, unknown, or non-applicable target (a ‘no particular address’ place holder).
解决方法:用localhost或127.0.0.1代替0.0.0.0
或者,在hosts文件里,将0.0.0.0指向127.0.0.1。这个方法,我没试成功。如果又试成功的,请留个言。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。