conan-io / training

(Deprecated) Support code for conan 1.X trainings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Artifactory not usable through localhost, but works with 127.0.0.1

pvanlaar opened this issue · comments

First of all, thank you for the great tutorials!

After using docker-compose to start the containers, I could not use artifactory through localhost:8082 in my browser, because it forwards me to http://jfrog-artifactory-training:8082/ui/ (http://container_name:8082/ui). Using the address 127.0.0.1:8082 does work, because it points me to 127.0.0.1:8082/ui/login.

OS: Ubuntu 18.04.2
Docker: 20.10.5
Docker-compose: 1.26.0

It takes some time to start artifactory in a container. When you connect the browser, you are redirectored form localhost:8082 to localhost:8082/artifactory. The same for 127.0.0.1:8082. The screen shows a "JFrog Platform will be available shortly" screen. When artifactory is ready the different redirects as described above occur.