Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Issue connecting to SQL Server 2k5 on remote server

Status
Not open for further replies.

developer155

Programmer
Jan 21, 2004
512
0
0
US
Hi, I am having a problem connecting to remote SQL server via TCP/IP in my .net application on my work machine.
My connection string is somethign like
SERVER=60.187.145.183,2000;UID=sa;PWD=dsdsd

When I run the app and it tries to open sql connection I recieve an error that remote server refused the connection.

I tried the same on my home machine and it failed as well. Then I turned off firewall on my home machine and it worked. When I turned off firewall on my work machine it did not work. What could be causing this?

The remote server is configured to allow remote connections on TCP/IP

thanks!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top