Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Suggest a port other then default Expand / Collapse
Author
Message
Posted Friday, November 1, 2013 10:28 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, June 26, 2014 1:18 AM
Points: 90, Visits: 135
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
Post #1510842
Posted Monday, November 4, 2013 4:32 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 9:57 AM
Points: 6,304, Visits: 13,601
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"
Post #1511047
Posted Tuesday, November 5, 2013 2:42 PM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Tuesday, August 26, 2014 1:52 PM
Points: 968, Visits: 964
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.
Post #1511644
Posted Tuesday, November 5, 2013 7:51 PM
SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Yesterday @ 1:00 PM
Points: 4,196, Visits: 3,235
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
Post #1511696
Posted Tuesday, November 5, 2013 8:04 PM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Yesterday @ 8:28 AM
Points: 588, Visits: 897
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
Post #1511699
Posted Wednesday, November 6, 2013 12:03 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 9:57 AM
Points: 6,304, Visits: 13,601
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"
Post #1511731
Posted Thursday, November 7, 2013 12:10 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, June 26, 2014 1:18 AM
Points: 90, Visits: 135
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
Post #1512102
Posted Thursday, November 7, 2013 9:19 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 9:57 AM
Points: 6,304, Visits: 13,601
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"
Post #1512339
Posted Thursday, November 7, 2013 9:34 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Today @ 8:46 AM
Points: 33,200, Visits: 15,343
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
Post #1512342
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse