Can't connect to server 2587 :/

everytime i attempt to connect to my server it comes up with the error “pending connection failure” and nothing seems t be working to fix the problem, any help is much appreciated