You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Persist "serve" informations ("port", "live-reload-port") into the angular-cli.json #1156
We are deployed project of Angular 2 and angular cli on AWS server (Production). Change angular-cli.json file
as per below. Use command : ng serve.
angular-cli.json
{
"port": 4201,
"liveReload": true,
"host": "example.com",
"live-reload-port": 49153
}
we use live host name. but error disply
Provided host example.com could NOT be bound. Please provide a different host address or hostname . on aws(amazon) server.
i have attach screen shot also.
Please any suggestion to how to serve application on AWS(amazon)server live host name.
angular-automatic-lock-bot commented on Sep 7, 2019
Activity
yahyaKacem commentedon Jun 21, 2016
you can actually do that but not in the
angular-cli.jsonfile rather in.ember-cliin the root of your project like this:pavlos256 commentedon Jun 21, 2016
Thank you @yahyaKacem.
I wonder if it would be too much to ask for an optional "--save" parameter/flag to
ng servethat would persist the options, like this:Not that it's hard to edit .ember-cli by hand but this way it would be documented right there and easier to discover.
angelozerr commentedon Jun 30, 2016
Many thanks @yahyaKacem!
feat(serve): Persist serve options in angular-cli.json
feat(serve): Persist serve options in angular-cli.json (#3908)
sinedied commentedon Feb 2, 2017
Why not also persist the proxy settings in the configuration file?
feat(serve): Persist serve options in angular-cli.json (angular#3908)
Mahi8686 commentedon Feb 10, 2017
ng serve --host 0.0.0.0 --live-reload-port 49153
Is not working...
When i terminate the application its webpage is not getting loaded...
Can anybody help!!!
kunalingole commentedon Sep 9, 2017
We are deployed project of Angular 2 and angular cli on AWS server (Production). Change angular-cli.json file
as per below. Use command : ng serve.
angular-cli.json
{
"port": 4201,
"liveReload": true,
"host": "example.com",
"live-reload-port": 49153
}
we use live host name. but error disply
Provided host example.com could NOT be bound. Please provide a different host address or hostname . on aws(amazon) server.
i have attach screen shot also.
Please any suggestion to how to serve application on AWS(amazon)server live host name.
angular-automatic-lock-bot commentedon Sep 7, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
feat(serve): Persist serve options in angular-cli.json (angular#3908)