Can anyone help how to connect remote mongo server in uipath?

if possible please share steps

Hello, Did you get to establish connection to mongo?

It is possible @Lucky0906 . We did established through .net custom code.
Additional point : you would need to pass the DB name , Server name,connection string, collection name. Following link might help you

https://www.codementor.io/pmbanugo/working-with-mongodb-in-net-1-basics-g4frivcvz

Did you write your code in VS or in Invoke code uipath activity?
I understand that you wrote in an .net editor and then you invoke the program or something of that, is it right?

i wrote in .net , it is a custom reusable and designed for internal purpose.