Improve company productivity with a Business Account.Sign Up

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

Can I configure the port on which my database is running using ssms?

Hi,

I am using Sql Server Express. How can I configure the port on which my database is running if possible?
0
vielkacarolina1239
Asked:
vielkacarolina1239
  • 3
  • 2
1 Solution
 
Chris MangusDatabase AdministratorCommented:
Yes you can through the SQL Server Configuration Manager tool.  

From BOL:

To assign a TCP/IP port number to the SQL Server Database Engine
In SQL Server Configuration Manager, in the console pane, expand SQL Server 2005 Network Configuration, expand Protocols for <instance name>, 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 are 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 wish to configure.

If the TCP Dynamic Ports dialog box contains 0, indicating the Database Engine is listening on dynamic ports, delete the 0.

In the IPn Properties area box, in the TCP Port box, type the port number you wish this IP address to listen on, and then click OK.

In the console pane, click SQL Server 2005 Services.

In the details pane, right-click SQL Server (<instance name>) 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.
0
 
vielkacarolina1239Author Commented:
Hi,

I am using sql server express with sql server management studio. Are these steps for sql server express management studio? for some reason i don't follow the explenation. Please, let me know if these steps are for ssms or for sql server 2005?
0
 
Chris MangusDatabase AdministratorCommented:
It's for any machine running any version of SQL Server 2005.  This tool is outside of SSMS.
0
 
vielkacarolina1239Author Commented:
Can i download this tool from the internet and is it free?
0
 
Chris MangusDatabase AdministratorCommented:
These should have been installed with SQL Express.  Click Start, Programs, Microsoft SQL Server 2005, Configuration Tools...and you should find it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

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