Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

175
Visualizações
Why does the address get redirected to port 8080 instead of port 80?

I am trying to configure the apache load balancer on the docker container with enabled exposing port 80:80. Even load balancer configuration has been updated in load balancer config file with proper ips. Since the whole setup is working in same subnet they all are connected to each other. I am using wordpress image for web server , MySQL image for db and centos image for load balancer,even the firewall rule to masquerade has been done and port to enabled...Pls help

My loadbalancer config file

docker ps command

Error ...Why is it going to port 8080 even though I have configured 80 in loadbalancer file

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

As I can see here, you are trying to access 172.17.0.4:8080 on the browser. And IP 172.17.0.4 corresponds to the container wpos2. Now since you had not exposed the port 8080 of this container so the request is not being served from the browser.

Instead, you should try accessing the load balancer container lb1 using the public IP of your host machine.

Try this: <HOST_IP>:80

This will hit your load balancer and from there the request will be redirected to one of the two servers: wpos or wpos2 and you should probably get your request served.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda