Could not connect to the Server : Connection timed out


If you trying to connect to a database, directory server or for any server for that matter and while you are running your application server, you  are getting the Error message Connection timed out in the stack trace, then, try the following remedies and see if these can help you :

1. Check in your configuration file whether you have given the correct IP address and port number of the server your trying to connect to.

2. Check if the credentials i.e. usernames and passwords are correct or not.

3. Unblock the ports of the server which you want to access in the firewall of the server.

Try running the application server once again and see if  this helps or not.

Thanks 🙂

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s