search

Home  >  Q&A  >  body text

macos - connect docker mongodb container

The current status is like this

50e260fb9e06 is ubuntu, mongodb has been installed and mongod has been started in the background
curl is

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

It shows that mongod is working normally, but I used the connection tool to connect like this:


The connection failed, and then I will operate it on a container:

The direct connection was successful. What is going on

滿天的星座滿天的星座2785 days ago595

reply all(1)I'll reply

  • 巴扎黑

    巴扎黑2017-05-02 09:26:49

    The problem is solved. It is a problem with robomongodb. I can connect directly using the mongo terminal

    reply
    0
  • Cancelreply