先试 ng serve --host 0.0.0.0 不行再试 ng serve --host 0.0.0.0 --disable-host-check 转载于:https://www.cnblogs.com/fuzitu/p/11314794.html