Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2007-11-30
5
Medium Priority
?
410 Views
Last Modified: 2008-02-01
Hi,

I am using Sql Server Express. How can I configure the port on which my database is running if possible?
0
Comment
Question by:vielkacarolina1239
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 17

Accepted Solution

by:
Chris Mangus earned 2000 total points
ID: 20385131
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
 

Author Comment

by:vielkacarolina1239
ID: 20385301
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
 
LVL 17

Expert Comment

by:Chris Mangus
ID: 20385457
It's for any machine running any version of SQL Server 2005.  This tool is outside of SSMS.
0
 

Author Comment

by:vielkacarolina1239
ID: 20385506
Can i download this tool from the internet and is it free?
0
 
LVL 17

Expert Comment

by:Chris Mangus
ID: 20385541
These should have been installed with SQL Express.  Click Start, Programs, Microsoft SQL Server 2005, Configuration Tools...and you should find it.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question