Could not connect to MongoDB on the provided host and port

Hi Muhammad_Fuad_22046,

Have your tried everything mentioned in this thread: About the Chapter 1: Compass Connection ?

If you have, I would recommend restart Compass, try login again and let me know if the issue is still there.

Thanks, Kanika