-
Notifications
You must be signed in to change notification settings - Fork 12k
How to run dev environment on azure VM? #3101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Run it using |
The place you're looking for is over in the Webpack-Dev-Server repos (https://github.com/webpack/webpack-dev-server/blob/master/bin/webpack-dev-server.js#L192) Here's the thing: I'm almost certain the team doesn't bind to 0.0.0.0 because they don't explicitly tell WDS to bind to any host. WDS just uses its default, as seen in the linked file. Also, whenever binding to localhost isn't going to work, the use of What you need is to add a script to your package.json along the lines of |
@gelliott181 Thanks for your answer, I found the .ember-cli when I was searching how to change 4200 to something else. Is there another way of changing the default port 4200 to say 3000? Though .ember-cli seems to be still working as I'm running my app on a different port than 4200. Will try to add the that script in my package.json. |
@gelliott181 never mind about my question about port, I put in my script Thanks for clearing things. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
OS?
Versions.
Repro steps.
The log given by the failure.
Mention any other details that might be useful.
I'm running angular-cli on my azure VM which works fine when I test it within the box however when I try to access it outside the box it doesn't show up. Though the ports are all good when I was running the quickstart angular without CLI that was showing okay.
I changed the angular-cli port from 4200 (default) to 3000 (using .ember-cli) to match my box port but it. Do I need to configure something in the angular-cli itself? I don't want to build a --prod yet.
The text was updated successfully, but these errors were encountered: