curl mongodb:27017

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

Oh, thanks!