Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Programming
»
Connecting
»
Port 56731?
Port 56731?
Rate Topic
Display Mode
Topic Options
Author
Message
baguckis
baguckis
Posted Friday, February 01, 2013 10:39 AM
Grasshopper
Group: General Forum Members
Last Login: Yesterday @ 12:30 PM
Points: 10,
Visits: 112
We were having an issue where SSMS was unable to connect to a named instance of SQL Server 2008 R2. We had TCP 1433 and UDP 1434 open.
We allowed all traffic to see what else it was trying to use and found port TCP 56731. When we opened that port it worked... I have never seen this port related to SQL before.
Any clues?
Post #1414762
Lynn Pettis
Lynn Pettis
Posted Friday, February 01, 2013 11:29 AM
SSC-Insane
Group: General Forum Members
Last Login: Today @ 4:33 PM
Points: 21,832,
Visits: 27,860
Named instances use dynamically assigned ports. The browser service normally handles this behind the scenes but the port(s) used still need to be open.
Lynn Pettis
For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here
or
when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here
and
here
Managing Transaction Logs
SQL Musings from the Desert
Fountain Valley SQL
(My Mirror Blog)
Post #1414775
baguckis
baguckis
Posted Friday, February 01, 2013 11:48 AM
Grasshopper
Group: General Forum Members
Last Login: Yesterday @ 12:30 PM
Points: 10,
Visits: 112
Thanks for the info!
Is there a range that I can open or do I always need to check what is assigned?
*Note to other readers you can see the port used here:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10.<InstanceName>\MSSQLServer\
SuperSocketNetLib\TCP\IPAll\
Post #1414786
happycat59
happycat59
Posted Sunday, February 03, 2013 8:28 PM
SSCrazy
Group: General Forum Members
Last Login: Yesterday @ 10:01 PM
Points: 2,489,
Visits: 2,091
By default, SQL Server uses dynamically assigned port numbers. You have the option to assign a specific port number to an instance of SQL Server.
You can do this using the "SQL Server Configuration Manager". Have a look in Books Online for the topic "How to: Configure a Server to Listen on a Specific TCP Port" - it gives you all the details you will need to do this
Post #1415089
happycat59
happycat59
Posted Sunday, February 03, 2013 10:36 PM
SSCrazy
Group: General Forum Members
Last Login: Yesterday @ 10:01 PM
Points: 2,489,
Visits: 2,091
The port number is also available in the SQL Server log - it is one of the messages logged when SQL Server starts.
Post #1415105
baguckis
baguckis
Posted Monday, February 04, 2013 10:30 AM
Grasshopper
Group: General Forum Members
Last Login: Yesterday @ 12:30 PM
Points: 10,
Visits: 112
Excellent. Thank you all for the information.
Post #1415400
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.