Angular 5 Webpack Compiled successfully but home page is not loading

Angular 5 Webpack Compiled successfully but home page is not loading



I have setup angular project locally in my system. When I run command ng serve --open then I am getting message that webpack compiled successfully but in the browser I am getting error


ng serve --open



This site can’t be reached localhost took too long to respond. Search Google for localhost 4200 ERR_CONNECTION_TIMED_OUT



I don't understand how do I debug the issue.



Edit:
Here is the screenshot of the screen which i am getting



enter image description here



**EDIT 2 **
I run command ng test and now i am gettiing


ng test



ERROR in
src/app/global-notifications/global-notifications.directive.spec.ts(5,23):
error TS2554: Expected 6 arguments, but got 0.
src/app/request.service.spec.ts(3,32): error TS2307: Cannot find
module './request.service'.





please show error msg in console you get
– harkesh kumar
Aug 30 at 11:12





I am not getting any error in console.
– dev tester
Aug 30 at 11:13





its showing a blank page or something
– harkesh kumar
Aug 30 at 11:14





it seems, your application is not running.. have you changed default port number anytime before?
– codeninja.sj
Aug 30 at 11:15





@harkeshkumar i updated above with the screen i am getting.
– dev tester
Aug 30 at 11:19






Required, but never shown



Required, but never shown






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.