Ssh client working in windows but not in linux [closed]

I currently shifted to linux from windows but I can't connect to ssh when I use -vvv flag it shows connection timed out but in windows it just connects. I am coming from here askubuntu.com/questions/240665 so please don't suggest me all the points I can guarantee that all the points are valid in my case. Please help me.

output of -vvv flag

debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolve_canonicalize: hostname myip is address
debug2: ssh_connect_direct
debug1: Connecting to myip [myip] port myport.
debug1: connect to address myip port myport: Connection timed out

I was using cloudflare's 1.1.1.1 for faster dns lookups and after 30 hours of hard work I found that Cloudflare cli changes your ip also in linux so all I did was enabled dns only mode and everything is working fine now.