Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

259
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!