Connection fails using IDE

I am unable to connect using both mongo and mongosh, see the screenshot

I also tried mongosh

Is typing mongo or mongosh without any parameters part of the instructions?

You are supposed to call mongo with the connection string.