HOW CAN I CHANGE CON. PORT

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
Fred

HOW CAN I CHANGE CON. PORT

Post by Fred » Mon 30 May 2005 17:24

Hi, can i change the port wich the MSSQL will connect trugth the internet??ex.: from 1433 to 9191. If i can how can i change it... PLEASE IT`S URGENT

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Tue 31 May 2005 07:29

MS SQL doesn't provide functionality to set this parameter through API.

You can use Client Network Utility (included into MS SQL Server package), or make corresponding changes in the registry directly (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo)

Post Reply