Failed to connect to server problem

Did you opened the port in your firewall?