Dockerise angular server troublshooting
Meanwhile the docker-compose up works and the container starts, it's not working. The angular server is correctly running inside the container but not accessible from outside. The port looks to be correctly forwarded but don't work (cant getw port 4200 of the container).
See the dockerfile in the front directory to have details about the deployment.
Trouble shooting Details :
Once the container started, logs show it listen on localhost:4200
Inside the container (through the cli) wget "localhost:4200" return a valid html page
Outside the container, from a internet browser localhost:4200 return a ERR_EMPTY_RESPONSE error code
Outside the container wget "localhost:4200" return the following message :
wget : La connexion sous-jacente a été fermée : La connexion a été interrompue de manière inattendue.
Au caractère Ligne:1 : 1
- wget "http://localhost:4200"
-
+ CategoryInfo : InvalidOperation : (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebEx
ception
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
the port is correctly defined on docker-compose : ports: "4200:4200".
I couldn't pushed my files in a new branch so i had to zip it (find it there : https://uptobox.com/n2ggexz68p1s )
Dockerise angular server troublshooting
Meanwhile the docker-compose up works and the container starts, it's not working. The angular server is correctly running inside the container but not accessible from outside. The port looks to be correctly forwarded but don't work (cant getw port 4200 of the container).
See the dockerfile in the front directory to have details about the deployment.
Trouble shooting Details :
Once the container started, logs show it listen on localhost:4200
Inside the container (through the cli) wget "localhost:4200" return a valid html page
Outside the container, from a internet browser localhost:4200 return a ERR_EMPTY_RESPONSE error code
Outside the container wget "localhost:4200" return the following message :
wget : La connexion sous-jacente a été fermée : La connexion a été interrompue de manière inattendue.
Au caractère Ligne:1 : 1
the port is correctly defined on docker-compose : ports: "4200:4200".
I couldn't pushed my files in a new branch so i had to zip it (find it there : https://uptobox.com/n2ggexz68p1s )