‫البيانات‬‫قواعد‬ ‫إدارة‬‫و‬ ‫برمجة‬
Microsoft SQL Server
‫م‬.‫الدين‬‫شمس‬
‫مشيرب‬
How to enable
remote connections to
MS SQL server
?
To enable remote connection
on SQL Server right – click on
the server and select the
Properties option. In the
Server Properties dialog under
the Connections tab check
the Allow remote connections
to this server option.
Under the SQL Server
Network Configuration select
Protocols for <your server
name>:
Make sure that TCP/IP
protocol is enabled and right
click on TCP/IP and select the
Properties option.
Port 1433 is the default
instance that SQL Server uses.
When you click the OK button
you will be prompted with a
message to restart the service
In the left pane of SQL
Server Configuration Manager
click SQL Server Services,
right-click SQL Server
<instance_name>, and click
Restart.
Note:
the specified port, e.g,
1433, must be opened in
the firewall.
To add a firewall exception for
the 1433 port go to Programs -
> Administrative Tools select
the Windows Firewall with
Advanced Security option and
follow the steps >>
In the Windows Firewall
with Advanced Security
dialog click on the
Inbound Rules option and
select the New Rule
command.
In the New Inbound Rule
wizard select the Port
option and click Next
In the Protocols and Ports
window specify the protocols
and ports to which a rule
applies. Select the TCP option,
in the Specific local ports text
box enter the 1433 port, and
click Next:
In the Action window select
the Allow the connection to
specify the action to be
taken when a connection
matches the conditions
specified in the rule
Specify the profiles for which
the rule applies in the Profile
window, and click Next
In the last window specify the
name of the created rule and
click the Finish button
You can now see the created
rule in the list of inbound rules
Hope This Was Useful
… Thank You …

Make SQL Server DB Accessible Remotely

  • 1.
    ‫البيانات‬‫قواعد‬ ‫إدارة‬‫و‬ ‫برمجة‬ MicrosoftSQL Server ‫م‬.‫الدين‬‫شمس‬ ‫مشيرب‬
  • 2.
    How to enable remoteconnections to MS SQL server ?
  • 3.
    To enable remoteconnection on SQL Server right – click on the server and select the Properties option. In the Server Properties dialog under the Connections tab check the Allow remote connections to this server option.
  • 4.
    Under the SQLServer Network Configuration select Protocols for <your server name>:
  • 5.
    Make sure thatTCP/IP protocol is enabled and right click on TCP/IP and select the Properties option. Port 1433 is the default instance that SQL Server uses.
  • 6.
    When you clickthe OK button you will be prompted with a message to restart the service
  • 7.
    In the leftpane of SQL Server Configuration Manager click SQL Server Services, right-click SQL Server <instance_name>, and click Restart.
  • 8.
    Note: the specified port,e.g, 1433, must be opened in the firewall.
  • 9.
    To add afirewall exception for the 1433 port go to Programs - > Administrative Tools select the Windows Firewall with Advanced Security option and follow the steps >>
  • 10.
    In the WindowsFirewall with Advanced Security dialog click on the Inbound Rules option and select the New Rule command.
  • 11.
    In the NewInbound Rule wizard select the Port option and click Next
  • 12.
    In the Protocolsand Ports window specify the protocols and ports to which a rule applies. Select the TCP option, in the Specific local ports text box enter the 1433 port, and click Next:
  • 13.
    In the Actionwindow select the Allow the connection to specify the action to be taken when a connection matches the conditions specified in the rule
  • 14.
    Specify the profilesfor which the rule applies in the Profile window, and click Next
  • 15.
    In the lastwindow specify the name of the created rule and click the Finish button
  • 16.
    You can nowsee the created rule in the list of inbound rules
  • 17.
    Hope This WasUseful … Thank You …