I have the latest version of Pymongo and RobotFramework (I checked with pip). The connection string is forced to lowercase when I surround it with the '[' ']' brackets. I do this because to connect to Mongo with credentials,I have to enter the username and password separated by a colon. When running the test case, I get a "sa:passw0rd!@
192.168.222.5:27017: [Errno 11003] getaddrinfo failed". Notice the password in lower case. If I start up Mongo locally, I am able to connect to it without credentials and retrieve the databases. I could also connect to the same server without credentials successfully (but without permissions) I have attached screenshots below and refer to the highlighted portions. Please note, I'm using RIDE to write and execute the test cases.