Check your firewall and make sure that Toribash is unblocked from it. Also try disabling your antivirus.
This error also comes up to people sometimes, and the best solution would be to wait approximately 15 minutes. You should then be able to connect.