Joining problem in multiplayer

Hello I was trying to join a server and it gave me this error- Failed to establish connection - no response from remote host. So I tried to join a different server and it gave me the same error.
So pls can somebody tell my why is this happening because I can''t fix it
I would really be thankful for the help