How to enable http in mongodb

OS version - centos7
mongo version - Community - 5.0.14
Here is my mongo.conf file

net:
http:
enabled: true

When I am trying to start services with above configuration it is failing with unrecognized net.http.enable option

can someone please help

1 Like

Hi @Jagan_62817,
from the documentation:

net.http

Changed in version 3.6: MongoDB 3.6 removes the deprecated net.http options. The options have been deprecated since version 3.2.

Best Regards