Connect docker mongodb container

  docker, question

The current situation is like this

clipboard.png

50e260fb9e06 is ubuntu, mongodb has been installed and mongod has been started backstage.
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 my connection with the connection tool is as follows:

clipboard.png
The connection failed, and then I went to another container to operate:

clipboard.png

The direct connection was successful. What is this

The problem has been solved. It is robomongodb’s problem, and the direct connection with mongo terminal was successful.