I'm trying to access a remote sql database from my local machine

I set web.config file up to connect to the remote server but i just get a 'Request Timed Out' message


--------- This is the exact message on Internet Explorer -----------------
Request timed out.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Request timed out.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[HttpException (0x80004005): Request timed out.]