Jul
25
2007
Finding the port number of a named SQL 2005 instance
Posted by: MDub in Other Microsoft AppsYou have a named instance of SQL2005 and need to find its port number. Maybe you’re trying to connect to it with Java and JTDS or maybe you’ve got something else going on. Whatever the reason, you need that number. Here’s how to get it.
- Launch the Server Configuration manager:
- Expand the Network Configuration node and find your named instance in the list:
- Right click on “TCP/IP” under “protocol name” and select “Properties” from the pop-up menu.
- On the Properties screen on the “Protocol” tab, find the “Listen All” field. Note what it says there… “Yes” or “No”. Then click on the “IP Addresses” tab.
- The port number is on the “IP Addresses” tab.
If the “Listen All” field on the previous tab said “Yes” then the port number is in the “IPAll” section. If “Listen All” was set to no, then it is in one of the other two sections, depending on what the IP Address of the named instance is. Find the IP Address (use ping if you have to) and use the port number assigned to it.
There’s your port number. Have fun with it.
Popularity: 27% [?]
Entries (RSS)
July 28th, 2007 at 11:12 pm
Would’nt running a nbstats -a give you all the ports including the one your are talking ?
April 20th, 2008 at 2:13 pm
[…] Server Configuration Manager to find the port your database is running on.Let me know if this helps:http://www.technowledgebase.com/2007/07/25/finding… # Posted By nick | 04/20/2008 08:39 [Add Comment] BlogCFC was created by Raymond Camden. […]
June 17th, 2008 at 5:42 pm
It helped me. Thanks!