SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Suggest a port other then default


Suggest a port other then default

Author
Message
anoop.mig29
anoop.mig29
SSC-Enthusiastic
SSC-Enthusiastic (147 reputation)SSC-Enthusiastic (147 reputation)SSC-Enthusiastic (147 reputation)SSC-Enthusiastic (147 reputation)SSC-Enthusiastic (147 reputation)SSC-Enthusiastic (147 reputation)SSC-Enthusiastic (147 reputation)SSC-Enthusiastic (147 reputation)

Group: General Forum Members
Points: 147 Visits: 155
Hi at one of the client i have to suggest him a port other then default.Can anybody tell me how to proceed with it .I mean how to select a port and can any port be suggested


Regards
Anoop
Perry Whittle
Perry Whittle
SSC-Insane
SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)

Group: General Forum Members
Points: 20096 Visits: 17244
query the file C:\windows\system32\drivers\etc\services and find a free port. perform a netstat -n to confirm that no other service on the machine is listening on that port.

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs" ;-)
S. Kusen
S. Kusen
SSCommitted
SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)

Group: General Forum Members
Points: 1598 Visits: 1117
I agree with Perry. In our environment, we have used a port up over 8000 away from any system ports, but checking for the available ports would be your best bet. Then you'll need to make sure any firewalls that the servers traverse have that port open for TCP connections. A lot of places open up 1433 because that is the standard SQL port; just something to keep in mind.
Ed Wagner
Ed Wagner
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16723 Visits: 10080
Perry is right - use a netstat -n to find ports that are in use then simply pick a different one. I'd avoid the known standards like 1433 and 1434. Ones like 21, 22 and 80 are also out, but that leaves a lot of open territory.

I find it helpful to pick ones that mean something to me so I'll remember them and not get them confused with other servers.


Tally Tables - Performance Personified
String Splitting with True Performance
Best practices on how to ask questions
Keith Tate
Keith Tate
Ten Centuries
Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)

Group: General Forum Members
Points: 1028 Visits: 979
Ed Wagner (11/5/2013)
Perry is right - use a netstat -n to find ports that are in use then simply pick a different one. I'd avoid the known standards like 1433 and 1434. Ones like 21, 22 and 80 are also out, but that leaves a lot of open territory.

I find it helpful to pick ones that mean something to me so I'll remember them and not get them confused with other servers.

I usually avoid 2866 and 2868 too, since a lot of companies just double 1433 and 1434 and these will be the next port they try.



Microsoft Certified Master - SQL Server 2008
Follow me on twitter: @keith_tate

Forum Etiquette: How to post data/code on a forum to get the best help
Perry Whittle
Perry Whittle
SSC-Insane
SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)

Group: General Forum Members
Points: 20096 Visits: 17244
A port in the high end range is usually good, say 50000 - 60000.
Where firewalls are in place and you wish to connect via the instance name you'll need the following ports opened

TCP. 1433, 1434, your chosen port
UDP. 1434

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs" ;-)
anoop.mig29
anoop.mig29
SSC-Enthusiastic
SSC-Enthusiastic (147 reputation)SSC-Enthusiastic (147 reputation)SSC-Enthusiastic (147 reputation)SSC-Enthusiastic (147 reputation)SSC-Enthusiastic (147 reputation)SSC-Enthusiastic (147 reputation)SSC-Enthusiastic (147 reputation)SSC-Enthusiastic (147 reputation)

Group: General Forum Members
Points: 147 Visits: 155
Perry Whittle (11/6/2013)
A port in the high end range is usually good, say 50000 - 60000.
Where firewalls are in place and you wish to connect via the instance name you'll need the following ports opened

TCP. 1433, 1434, your chosen port
UDP. 1434


Hi thanks everybody for reply

@Perry Whittle how can i determine which port above 50000 is tcp/udp port
Perry Whittle
Perry Whittle
SSC-Insane
SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)

Group: General Forum Members
Points: 20096 Visits: 17244
anoop.mig29 (11/7/2013)
Perry Whittle (11/6/2013)
A port in the high end range is usually good, say 50000 - 60000.
Where firewalls are in place and you wish to connect via the instance name you'll need the following ports opened

TCP. 1433, 1434, your chosen port
UDP. 1434


Hi thanks everybody for reply

@Perry Whittle how can i determine which port above 50000 is tcp/udp port

All ports have a TCP and UDP assignment.

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs" ;-)
Steve Jones
Steve Jones
SSC Guru
SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)

Group: Administrators
Points: 63188 Visits: 19115
There's a list here of well known ports: http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers

In the past, we've typically gone with 51433, just to make it easy for people connecting. However check to be sure it's not being used. Your network admins could also help you determine if there is any traffic using this port on your network.

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search