Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 99
  • Last Modified:

SQL Connect string - Specifying the Port

Say, is there a parameter and what is it in order to specify the Port to connect to SQL?
0
shaunwingin
Asked:
shaunwingin
  • 2
1 Solution
 
Vitor MontalvãoMSSQL Senior EngineerCommented:
Instead of the ServerName\InstanceName you can use ServerName,PortNumber or IP,PortNumber.
0
 
Vitor MontalvãoMSSQL Senior EngineerCommented:
But use it only if the Port Number is static. Don't use Port Number for dynamic configurations.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now