Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to change default port of SQL 2008 Server?

user-image
Question added by Khurram Zaman , Technical Support Engineer , Carbon Black Inc
Date Posted: 2013/06/04
Seif Eldin Sammain
by Seif Eldin Sammain , Data scientist , STC

from the configuration manager, expand SQL Server Network Configuration, expand Protocols for your instance and then double-click TCP/IP.
* In the TCP/IP Properties dialog box, on the IP Addresses tab, several IP addresses appear in the format IP1, IP2, up to IPAll.
One of these is for the IP address of the loopback adapter,127.0.0.1.
Additional IP addresses appear for each IP Address on the computer.
Right-click each address, and then click Properties to identify the IP address that you want to configure.
* If the TCP Dynamic Ports dialog box contains0, indicating the Database Engine is listening on dynamic ports, delete the0.
* In the IPn Properties area box, in the TCP Port box, type the port number you want this IP address to listen on, and then click OK.
* In the console pane, click SQL Server Services.
* In the details pane, right-click SQL Server () and then click Restart, to stop and restart SQL Server.
After you have configured SQL Server to listen on a specific port, there are three ways to connect to a specific port with a client application: * Run the SQL Server Browser service on the server to connect to the Database Engine instance by name.
* Create an alias on the client, specifying the port number.
* Program the client to connect using a custom connection string.

More Questions Like This