Relyence User Guide
Allow Remote TCP Access to SQL Server
Allow Remote TCP Access to SQL Server
In order for Relyence to be able to communicate with a remote SQL Server Instance, SQL Server must be able to accept remote connections and TCP access must be allowed.
Note that all of these actions are to be done on the server where the SQL Server Instance resides.
Allow Remote Connections in SQL Server
- If you do not already have SQL Server Management Studio, download and install it from this link.
- Open SQL Server Management Studio and connect to your SQL Server Instance.
- Right click on your SQL Server Instance in the tree on the left (the top level item) and click Properties.
- Click Connections on the left.
- If Allow remote connections to this server is unchecked, check this box.
- Click OK.
Allow TCP Access to your SQL Server Instance
- Click Start and search for SQL Server Configuration Manager.
- If you cannot find this application, it will be located on your hard drive at C:\Windows\SysWOW64\SQLServerManagerXX.msc where XX is a two-digit number such as 11, 12, 13, or 14.
- Open SQL Server Configuration Manager, expandSQL Server Network Configuration on the left, and select Protocols for <Your SQL Server Instance Name>.
- Note that if you are using the Default Instance for SQL Server, your SQL Server Instance Name will be MSSQLSERVER.
- In the pane on the right, find TCP/IP.
- If TCP/IP is set to Disable:
- Right click TCP/IP and select Enable.
- On the left pane, click SQL Server Services.
- In the pane on the right, find SQL Server (<Your SQL Server Instance Name>).
- Right click on this item and select Restart.
Find the Port that SQL Server is Listening On
- Open SQL Server Management Studio and connect to your SQL Server Instance.
- On the left, expand Management.
- Under Management, expand SQL Server Logs.
- Double click on the first log that contains the word Current.
- In the dialog that now shows:
- Click Filter in the toolbar at the top.
- For Message contains text, type server is listening on.
- Click the Apply filter checkbox.
- Click OK.
- Find the record similar to Server is listening on ['any' <ipv4> 1433].
- In the example listed above, 1433 is the port that SQL Server is listening on. Be sure to note the port that appears for you.
Allow the TCP Port through Windows Firewall
NOTE: This walk through assumes Windows Firewall is controlling network traffic for your system. If your network traffic is controlled by another firewall, be sure to apply these changes in the necessary locations within your organization.
- Click Start and search for Windows Firewall.
- Open Windows Firewall and click Advanced Settings on the left.
- Click Inbound Rules on the left.
- Sort the Local Port column and see if there is a rule present for the SQL Server port found in the previous section.
- If no rule exists for this port:
- Select New Rule on the right.
- Select Port and click Next.
- Select TCP, select Specified local ports, populate the port number found in the previous step, and click Next.
- Select Allow the connection and click Next.
- Select Domain, Private, and Public as needed (most likely you will require Domain and Private) and click Next.
- Enter a name such as Allow SQL Server for Relyence and click Finish.