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

263
Visualizações
Connecting a Dockerized MongoDb instance, behing a reverse Nginx proxy on EC2

I try to connect Robomongo (or any other MongoDb UI) to a mongo instance, which is dockerized and behind an NGinx reverse-proxy (also dockerized, using jwilder/nginx-proxy) on a EC2 Container-Service instance.

err screenshot here

I have an application running using this mongo instance, on the same network, working like a charm ; so we know that mongo is running well.

If I try to access directly the container via a browser and targeting the 443 port, i get the following message :

It looks like you are trying to access MongoDB over HTTP on the native driver port.

I'm using the official mongoDb docker container, which only exposes 27017 ; so my request is redirected from 443 to 27017.

Do you know how can this be achieved ? Thanks a lot,

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

0

Perhaps you need pass the --httpinterface flag to the mongodb container:

docker run --name some-mongo -d mongo --httpinterface 

This flag are deprecated since version 3.2: HTTP interface for MongoDB

Check Mongodb Documentation

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