means no process is listening at the given xx.xx.xx.xx IP.

Connect to the xx.xx.xx.xx machine and try to connect with mongosh using the same connection string. Does it work? No try with localhost rather than xx.xx.xx.xx. Does that work better?

Share the mongod configuration file you used to start the instance. I suspect you are not binding to xx.xx.xx.xx.