Live Chat Software by NetForChoice |
How to configure SQL Express 2012 to accept remote connections
Posted by on 28 November 2016 01:07 PM
|
|||||
How to configure SQL Express 2012 to accept remote connections INTRODUCTION Named SQL instances listen on dynamic ports. This is the function of the Sql Server Browser Service to inform the clients of the actual port. The Sql Browser listens on UDP 1434 and answers all client request with the port number the current instance is using. Sql Server Browser service is required for both TCP and named pipes protocols. SQL Server Browser is used by clients transparently and there is no need for special configuration. To configure SQL Server 2012 Express to allow remote connections, you must complete these steps:
Update 2015.05.11 If you want to use GPO to configure SQL server Standard or Enterprise to accept remote connections see my new post: How to use GPO to allow SQL 2012 accept remote connections
Enable remote connections on the instance of SQL Server that you want to connect to from a remote computer.
Figure 1
Figure 2
Configure SQL express server to listen on static port.
Figure 3
netstat -ano | find /i “PID-Number-Of-SQL-Server”. Based on the details shown in Figure 3 syntax is the following: netstat -ano | find /i “116”. The results are shown in Figure 4. Figure 4
Figure 5 Figure 6
Figure 7
Figure 8
Figure 9 At this stage SQL Express is configured to listen on standard port 1433. Turn on the SQL Server Browser service.
Figure 10
Figure 11 Figure 12 Figure 13 Important note: According to SQL server hardening best practices the SQL Server Browser service should be disabled. This service, which typically isn’t required, responds to requests for SQL Server resources and redirects the caller to the correct port. Keeping the Browser service disabled will remove the redirector as an attack vector, helping to obscure the correct entry ways into your SQL Se
After that telnet from your local computer . telnet 146.88.26.121 1433
Note: if tenet client is not not installed than please
| |||||
|