Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Default port for SQL Server

I need to know the default port settings for the following services

  1. SQL Server
  2. SQL Browser
  3. SQL Reporting services
  4. SQL Analysis services

I neeed to know the port settings for these services for different versions of SQL Server (2000,2005,2008)

Also let me know whether the default port setting will change based on sql server versions

Thanks in advance.

like image 810
balaweblog Avatar asked Sep 30 '08 12:09

balaweblog


People also ask

Is SQL port 1433 TCP?

TCP 1433. TCP port 1433 is the default port for SQL Server. This SQL port is also the official Internet Assigned Number Authority (IANA) socket number for SQL Server.

What is SQL Server port?

We can define the port as an endpoint of service for communication purposes. It might bind to a particular application or service. Once we install SQL Server, it configures default ports for SQL Server services. Each client application uses the combination of IP addresses and port number to connect to SQL Server.

What is the difference between port 1433 and 1434?

The default instance of SQL Server listens on Port 1433. Port 1434 is used by the SQL Browser Service which allows connections to named instances of SQL Server that use dynamic ports with out having to know what port each named instance is using, especially since this can change between restarts of the named instance.


2 Answers

  1. The default SQL Server port is 1433 but only if it's a default install. Named instances get a random port number.

  2. The browser service runs on port UDP 1434.

  3. Reporting services is a web service - so it's port 80, or 443 if it's SSL enabled.

  4. Analysis services is 2382 but only if it's a default install. Named instances get a random port number.

like image 198
ScottStonehouse Avatar answered Oct 04 '22 21:10

ScottStonehouse


If you have access to the server then you can use

select local_tcp_port from sys.dm_exec_connections where local_tcp_port is not null 

For full details see port number of SQL Server

like image 34
Jared Moore Avatar answered Oct 04 '22 21:10

Jared Moore