codelab-kanban-fire icon indicating copy to clipboard operation
codelab-kanban-fire copied to clipboard

Open local host: fail to connect

Open MarGer1962 opened this issue 3 years ago • 1 comments

LS, When i made the angular app and give the command ng serve, i can open http://localhost:4200/ When i open this i get this message in my screen "Cannot GET /" > see image Question01

I do not understand this When i use https://www.yougetsignal.com/tools/open-ports/ en check port 4200, it reads that it is closed. Also - when checking port 443 - this port is also closed Is that causing the problem? > see: https://stackoverflow.com/questions/50811695/which-ports-have-to-be-open-to-communicate-with-firebase-database-not-fcm-messa

MarGer1962 avatar Apr 08 '22 09:04 MarGer1962

Problem solved. I had to close Visual Studio Code. Then opened Visual Studio Code again: again same fault. Then i restarted my PC : that did work. My conclusion: somehow on the background the application still used localhost, i think because i did not close the terminal correctly. ( Ctrl + C ).

MarGer1962 avatar Jun 07 '22 08:06 MarGer1962