-2

I want to change the default port number 1433 to another in SQL server 2008. Is there any command line option for this? I know that how to change the port number through SQL Server Configuration Manager but I need to change this from my java application.

Any idea about this

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
Ram23
  • 91
  • 2
  • 10

1 Answers1

0

There is no command line utility, but you can do it with WMI. There is an MSDN blog about it here: https://serverfault.com/questions/123411/change-port-number-via-command-line-in-sql-server-2005

Community
  • 1
  • 1
Pete Carter
  • 2,691
  • 3
  • 23
  • 34