MongoDB does not open Port

Hello Tarun,

sorry for my late reply.

  • How did you determine that the port was not opened? Was there an error in the logs?

When I let me show the open ports on the server there is no mongodb port opened.
In the logfiles it look like the port is opened. So there are no hints in the log for me.

  • What is your deployment topology? If it is a replica set please share the output of rs.status() and rs.conf()

I cannot share the output because I cannot even connect to the server with the cli.

  • By dataarea did you mean the dbpath? What does unmap means in this context?

Yes I mean the dbpath. The dbpath is a mapped nfs share and I unmounted the share to test, whether there is an issue with the data.

  • I don’t see any errors in the logs you shared, could you please share the error you are getting?

Thats my issue as well. I cannot see any error. But the mongod process does not open a port I can connect to.

Best regards
Florian