I'm getting this error when I try to connect using this connection string

can anyone help me to solve this issue, i tried to add my IP to the network access but it didn’t solve the issue

Try this

mongosh “mongodb://cluster0-shard-00-00-jxeqq.mongodb.net:27017,cluster0-shard-00-01-jxeqq.mongodb.net:27017,cluster0-shard-00-02-jxeqq.mongodb.net:27017/aggregations?replicaSet=Cluster0-shard-0” --authenticationDatabase admin --ssl -u m121 -p aggregations --norc

I tried it but it gives me “connect ETIMEDOUT 34...***:27017”

Your first connect string is connecting to your Sandbox cluster.Did you allow access from anywhere?
I think some firewall/vpn blocking your request
Did you try from another location or use a different network like your mobile hotspot

Yes, I tried all these solutions

What do you get with http://portquiz.net:27017 ?