Answers for "change the port of angualr ng serve"

1

cancel ng server port

Using your terminal, find the PID of port 4200
netstat -ano | findstr :4200

Kill task by the PID Number (Replace 15940)
taskkill /PID 15940 /F
Posted by: Guest on May-26-2020
0

make angular to run on a different port

"projects": {
    "my-cool-project": {
        ... rest of project config omitted
        "architect": {
            "serve": {
                "options": {
                    "port": 1337
                }
            }
        }
    }
}
Posted by: Guest on May-09-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language