Server Wont connect

Tried setting it up but i keep getting this error "Couldn't connect to your server. Is your details correct?" all my ports and ips are correct 
Any help would be nice thank you

I just installed the plugin and am having this same problem on the website.

Merged post

Nevermind Im an idiot