TwanoO67 / bootstraping-ngx-admin-lte

Angular2,4,6 project with AdminLTE dashboard template (using angular, angular-cli and ngx-admin-lte ) Formerly called 'ng2-admin-lte'.
463 stars 220 forks source link

docker image and linux problem with ng serve #89

Closed xMase closed 7 years ago

xMase commented 7 years ago

In the current release there is a problem with linux ng serve. Docker Ng serve by default listen on 127.0.0.1 but the socket is no bound directly to the host machine socket, with the problem that 127.0.0.1:4900 does not answer. To resolve the problem ng serve must be forced to use all interface 0.0.0.0.

in package.json change: 7 "start": "ng serve", to: 7 "start": "ng serve --host 0.0.0.0",

TwanoO67 commented 7 years ago

Thanks for the comment, it's done in develop and will be in the next version