<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.tntware.com/donorwise/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>How can I host SQL Server in an office network for multiple workstations to connect with?</title><link>https://www.tntware.com/donorwise/faqs/en/how-can-i-host-sql-server-in-an-office-network-for-multiple-workstations-to-connect-with.aspx</link><description /><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 SP2 (Debug Build: 40407.4157)</generator><item><title>How can I host SQL Server in an office network for multiple workstations to connect with?</title><link>https://www.tntware.com/donorwise/faqs/en/how-can-i-host-sql-server-in-an-office-network-for-multiple-workstations-to-connect-with.aspx</link><pubDate>Thu, 01 Sep 2022 00:59:57 GMT</pubDate><guid isPermaLink="false">de06579a-5120-4393-a24b-6f68f5e7a3ec:33</guid><dc:creator>Troy Wolbrink</dc:creator><comments>https://www.tntware.com/donorwise/faqs/en/how-can-i-host-sql-server-in-an-office-network-for-multiple-workstations-to-connect-with/comments.aspx</comments><description>Current revision posted to Frequently Asked Questions by Troy Wolbrink on 9/1/2022 12:59:57 AM&lt;br /&gt;
&lt;p&gt;DonorWise was developed with the possibility that multiple workstations in an office networked environment to&amp;nbsp;be able to work on the same database at the same time.&amp;nbsp; The central point of this is a computer that will be running SQL Server.&amp;nbsp; This computer is called the &amp;quot;server&amp;quot;.&lt;/p&gt;
&lt;p&gt;Once you have a server setup with SQL Server, and a DonorWise database has been created on this SQL Server, there are some steps to make it possible for others in the office to connect to this database from their computer as well.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Remote Connections enabled&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;SQL Server must be configured to allow &amp;quot;Remote Connections&amp;quot;.&amp;nbsp; In SQL Server Management Studio, connect to your instance of SQL Server.&amp;nbsp; Right-click on the server node and click on &amp;quot;Properties&amp;quot;.&amp;nbsp; In the Connections section, check the box to enable Remote Connections.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Discover Listening Port and Enable Firewall&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In SQL Server Configuration Manger, find your instance of SQL Server, and make sure that TCP/IP protocol is enabled.&amp;nbsp; Within the TCP/IP configuration, under the IP Addresses tab, scroll down to &amp;quot;IP All&amp;quot;.&amp;nbsp; Take note of TCP Dynamics Ports and TCP Port.&lt;/p&gt;
&lt;p&gt;If TCP Port is blank, but TCP Dynamics Ports is not blank:&amp;nbsp; You&amp;#39;ll need to add a Firewall inbound rule to allow for &lt;span style="color:#3366ff;"&gt;dynamic ports&lt;/span&gt;:&lt;/p&gt;
&lt;table style="border-collapse:collapse;width:100%;" border="1"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="width:100%;"&gt;
&lt;h4 id="to-open-access-to-sql-server-when-using-dynamic-ports" class="heading-anchor"&gt;To open access to SQL Server when using dynamic ports&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;On the&amp;nbsp;&lt;strong&gt;Start&lt;/strong&gt;&amp;nbsp;menu, select&amp;nbsp;&lt;strong&gt;Run&lt;/strong&gt;, type&amp;nbsp;&lt;strong&gt;WF.msc&lt;/strong&gt;, and then select&amp;nbsp;&lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the&amp;nbsp;&lt;strong&gt;Windows Firewall with Advanced Security&lt;/strong&gt;, in the left pane, right-click&amp;nbsp;&lt;strong&gt;Inbound Rules&lt;/strong&gt;, and then select&amp;nbsp;&lt;strong&gt;New Rule&lt;/strong&gt;&amp;nbsp;in the action pane.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the&amp;nbsp;&lt;strong&gt;Rule Type&lt;/strong&gt;&amp;nbsp;dialog box, select&amp;nbsp;&lt;strong&gt;Program&lt;/strong&gt;, and then select&amp;nbsp;&lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the&amp;nbsp;&lt;strong&gt;Program&lt;/strong&gt;&amp;nbsp;dialog box, select&amp;nbsp;&lt;strong&gt;This program path&lt;/strong&gt;. Select&amp;nbsp;&lt;strong&gt;Browse&lt;/strong&gt;, and navigate to the instance of SQL Server that you want to access through the firewall, and then select&amp;nbsp;&lt;strong&gt;Open&lt;/strong&gt;. By default, SQL Server is at&amp;nbsp;&lt;strong&gt;C:\Program Files\Microsoft SQL Server\MSSQLXX.MSSQLSERVER\MSSQL\Binn\Sqlservr.exe&lt;/strong&gt;. Select&amp;nbsp;&lt;strong&gt;Next&lt;/strong&gt;. The&amp;nbsp;&lt;code&gt;MSSQLXX&lt;/code&gt;&amp;nbsp;version will be specific to your version of SQL Server.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the&amp;nbsp;&lt;strong&gt;Action&lt;/strong&gt;&amp;nbsp;dialog box, select&amp;nbsp;&lt;strong&gt;Allow the connection&lt;/strong&gt;, and then select&amp;nbsp;&lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the&amp;nbsp;&lt;strong&gt;Profile&lt;/strong&gt;&amp;nbsp;dialog box, select any profiles that describe the computer connection environment when you want to connect to the Database Engine, and then select&amp;nbsp;&lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the&amp;nbsp;&lt;strong&gt;Name&lt;/strong&gt;&amp;nbsp;dialog box, type a name and description for this rule, and then select&amp;nbsp;&lt;strong&gt;Finish&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;If TCP Port is not blank, you&amp;#39;ll have to open up port that &lt;span style="color:#3366ff;"&gt;static port&lt;/span&gt; (usually port 1433)&lt;/p&gt;
&lt;table style="border-collapse:collapse;width:100%;" border="1"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="width:100%;"&gt;
&lt;h4 id="to-open-a-port-in-the-windows-firewall-for-tcp-access" class="heading-anchor"&gt;To open a port in the Windows firewall for TCP access&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;On the&amp;nbsp;&lt;strong&gt;Start&lt;/strong&gt;&amp;nbsp;menu, select&amp;nbsp;&lt;strong&gt;Run&lt;/strong&gt;, type&amp;nbsp;&lt;strong&gt;WF.msc&lt;/strong&gt;, and then select&amp;nbsp;&lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the&amp;nbsp;&lt;strong&gt;Windows Firewall with Advanced Security&lt;/strong&gt;, in the left pane, right-click&amp;nbsp;&lt;strong&gt;Inbound Rules&lt;/strong&gt;, and then select&amp;nbsp;&lt;strong&gt;New Rule&lt;/strong&gt;&amp;nbsp;in the action pane.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the&amp;nbsp;&lt;strong&gt;Rule Type&lt;/strong&gt;&amp;nbsp;dialog box, select&amp;nbsp;&lt;strong&gt;Port&lt;/strong&gt;, and then select&amp;nbsp;&lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the&amp;nbsp;&lt;strong&gt;Protocol and Ports&lt;/strong&gt;&amp;nbsp;dialog box, select&amp;nbsp;&lt;strong&gt;TCP&lt;/strong&gt;. Select&amp;nbsp;&lt;strong&gt;Specific local ports&lt;/strong&gt;, and then type the port number of the instance of the Database Engine, such as&amp;nbsp;&lt;strong&gt;1433&lt;/strong&gt;&amp;nbsp;for the default instance. Select&amp;nbsp;&lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the&amp;nbsp;&lt;strong&gt;Action&lt;/strong&gt;&amp;nbsp;dialog box, select&amp;nbsp;&lt;strong&gt;Allow the connection&lt;/strong&gt;, and then select&amp;nbsp;&lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the&amp;nbsp;&lt;strong&gt;Profile&lt;/strong&gt;&amp;nbsp;dialog box, select any profiles that describe the computer connection environment when you want to connect to the Database Engine, and then select&amp;nbsp;&lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the&amp;nbsp;&lt;strong&gt;Name&lt;/strong&gt;&amp;nbsp;dialog box, type a name and description for this rule, and then select&amp;nbsp;&lt;strong&gt;Finish&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;SQL Browser service requirement&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re using a named instance (like SQLEXPRESS), you&amp;#39;ll also need to also ensure the SQL Browser service is enabled and running.&amp;nbsp; Also, you&amp;#39;ll need to enable an inbound rule to allow UDP port 1434 on your firewall.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Restart SQL Server&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;At this point, you&amp;#39;ll need to restart your SQL Server instance, so that it can bind to the appropriate TCP/IP port and prepare for listening for connections.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Take Note of Server Name and Ping it from the Workstation&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;On the server, open up a Windows Command Prompt and run the following command:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp; &amp;nbsp; hostname&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This will tell you what the server name is.&amp;nbsp; From the user&amp;#39;s workstation, run this command:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp; &amp;nbsp;ping &amp;lt;hostname&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This test will confirm if the workstation can see the server via TCP/IP or not.&amp;nbsp; If it can, you&amp;#39;re ready to start DonorWise and login to the database on the server.&lt;/p&gt;</description></item></channel></rss>