Hello @karolizi ,
welcome back to the forum 
There is a lot of infrastructure in your setup which could lead to a disconnect. Could you please check the mongod.log for suspicious errors and warnings and provide this information?
Also, when you can not connect to the database via the above shown URI, do you still have access to the server? If you can connect via localhost but not via the URI you provided then most likely need to go further down the road and check the jumphost, ssh, …
I am currently travelling the next weeks and have limited access. Due to this I have highlighted this post, asking someone to pick up.
Good luck finding the issue
Michael