得到它了!在我的项目
Grunt.js文件中,有以下设置:
grunt.initConfig({ ... connect: { options: { port: 9000, // Change this to '0.0.0.0' to access the server from outside. hostname: 'localhost' }, } ... });我所要做的就是要改变
localhost到
0.0.0.0和重新启动
grunt server。



