#docker #kubernetes #container #orchestrator #microservice #infrastructure-as-code #devops #ci #cd

제목도커에서 웹 접근이 거부됩니다.2023-10-11 21:28
작성자
첨부파일20231011_211629.png (5.1KB)
mb-file.php?path=2023%2F10%2F11%2FF2350_20231011_210603.png
mb-file.php?path=2023%2F10%2F11%2FF2351_20231011_210625.png
mb-file.php?path=2023%2F10%2F11%2FF2352_20231011_210642.png
mb-file.php?path=2023%2F10%2F11%2FF2353_20231011_210700.png
mb-file.php?path=2023%2F10%2F11%2FF2354_20231011_210722.png

flask 서버를 띄워서 간단한 웹을 만들었습니다. 파이썬 파일을 실행하면 웹에 접속이 가능한데 

도커에 빌드하고 run하면 connection refused가 뜨면서 접속이 불가합니다. 


이외에 html 파일 3개가 templates 폴더 안에 들어있는 형태이며 파이썬 파일에서 html을 실행합니다. 


댓글