Connect to SQL Server & different port
C#
2
Posts
2
Posters
1
Views
1
Watching
-
We know the default TCP/IP port of SQL Server 2000 is 1433. I can connect to DB from remote using SQLConnection class. But when the default port is changed, I couldn't. How can I connect to DB with different TCP/IP port?
Hi mkomasi, I have'nt tried much on SQL Server. Although, you may like to try http://www.connectionstrings.com/[^] for a variant of ConnectionString that can faciliate connecting to a different port. Alternatively, does OLEDB allow that? A suitable connectionstring should help you there too? Try that URL. Deepak Kumar Vasudevan http://deepak.portland.co.uk/