<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ASP.NET MSSQL Webhosting Blog &#187; Windows firewall</title>
	<atom:link href="http://www.mywebhostingblog.net/tag/windows-firewall/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mywebhostingblog.net</link>
	<description>ASP.NET, MSSQL and Windows dedicated server articles</description>
	<lastBuildDate>Tue, 10 Nov 2009 19:53:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Check list for Remote Desktop not Working</title>
		<link>http://www.mywebhostingblog.net/hosting-security/check-list-for-remote-desktop-not-working/</link>
		<comments>http://www.mywebhostingblog.net/hosting-security/check-list-for-remote-desktop-not-working/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 07:32:24 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Hosting Security]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[RDP]]></category>
		<category><![CDATA[Remote Desktop]]></category>
		<category><![CDATA[Terminal Services]]></category>
		<category><![CDATA[Windows 2003]]></category>
		<category><![CDATA[Windows firewall]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=371</guid>
		<description><![CDATA[Remote Desktop [RDP] not Working..? This applies to all versions of Windows 2003 and Windows 2008 and also to Vista and XP Professional. This problem normally occurs to our client with Dedicated Server hosting. So I thought I will create a check list to make their hosting service a bit easy. Yes, you will need [...]]]></description>
			<content:encoded><![CDATA[<p>Remote Desktop [<strong>RDP</strong>] not Working..?</p>
<p>This applies to all versions <strong>of Windows 2003</strong> and <strong>Windows 2008</strong> and also to <strong>Vista </strong>and <strong>XP Professional</strong>. This problem normally occurs to our client with <strong>Dedicated Server hosting</strong>. So I thought I will create a check list to make their hosting service a bit easy.<br />
Yes, you will need physical access to the machine to check this, it is obvious that you will not be able to check this problem unless you have remote access to the server. These steps can only be performed if you have physical access to the dedicated server or through a Keyboard-Video-Mouse [<strong>KVM</strong>]. So there we go:</p>
<p>* First thing that you need to check is whether the <strong>Remote Desktop Console</strong> [RDC] is enabled on your server.<br />
Go to Desktop &gt;&gt; My Computer &gt;&gt; Properties &gt;&gt; Remote Tab<br />
Check the box for &#8220;<strong>Enable Remote Desktop on this computer</strong>&#8221; and click OK.</p>
<p><img class="aligncenter size-medium wp-image-372" title="windows-dedicated-hosting-enable-remote-desktop-1" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/windows-dedicated-hosting-enable-remote-desktop-1-262x300.png" alt="windows dedicated hosting enable remote desktop 1 262x300 Check list for Remote Desktop not Working" width="262" height="300" /></p>
<p><span id="more-371"></span></p>
<p>* If the above option is enabled then make sure that the user which you are using to connect the server remotely is added in the &#8220;<strong>Remote Desktop users&#8221;</strong> group. Administrators are normally added in the group. This can be confirmed from with the steps below:<br />
Go to Desktop &gt;&gt; My Computer &gt;&gt; Mange<br />
Expand Local Users and Group &gt;&gt; Select Group.<br />
Double click on &#8220;<strong>Remote Desktop Users</strong>&#8221; Group and make sure that the user is added in here.</p>
<p><img class="aligncenter size-medium wp-image-373" title="windows-dedicated-hosting-rdp-group" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/windows-dedicated-hosting-rdp-group-270x300.png" alt="windows dedicated hosting rdp group 270x300 Check list for Remote Desktop not Working" width="270" height="300" /></p>
<p>* If both the above settings are correct then you need to make sure that TCP port 3389, which is the default port for RDC is enabled in the firewall of the machine that is used to RDP the server. Vise a verse make sure that the server firewall also has this port added in the exception. The best way to check this is:</p>
<p>First make sure that the server listens to telnet, try telnet of any other port which you are sure is working on the server like port 80 or 25. The command would be:</p>
<p><code>TELNET ip_address 25</code></p>
<p>If this works then try telnet on port 3389.</p>
<p><code>TELNET ip_address 3389</code></p>
<p>* If the telnet is not working then there are several possibilities, it can be the firewall on your machine or the firewall on the server tha is blocking the port. It can also be the case that <strong>Terminal Server Service</strong> did not start for some reasons. Or in a very rare situation it could be that the RDP port has been changed by some one. We will rectify all the possibilities one by one:</p>
<p>* Check the firewall on your machine or just shut the firewall down and then try the telnet again.</p>
<p>* If you have <strong>Windows Firewall</strong> then make sure that <strong>Remote Desktop</strong> is added in Exception.<br />
Goto Start &gt;&gt; All Programs &gt;&gt; Control Panel &gt;&gt; Windows Firewall<br />
If you have a third party firewall your dedicated server then just disable it and try the telnel option.</p>
<p><img class="aligncenter size-medium wp-image-374" title="windows-dedicated-hosting-firewall" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/windows-dedicated-hosting-firewall-256x300.png" alt="windows dedicated hosting firewall 256x300 Check list for Remote Desktop not Working" width="256" height="300" /></p>
<p>* If that is not the firewall issue make sure that <strong>Terminal Server Service</strong> is set to Automatic and is running. This server depends on <strong>Remote Procedure Call</strong> Service and you get errors while starting the server and you will need to trouble shoot the problem. If the server is terminating unexpectedly then make sure that the Hardware profile of the server is set to &#8220;Enable&#8221;:</p>
<p><img class="aligncenter size-medium wp-image-375" title="windows-dedicated-hosting-terminal-service" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/windows-dedicated-hosting-terminal-service-266x300.png" alt="windows dedicated hosting terminal service 266x300 Check list for Remote Desktop not Working" width="266" height="300" /></p>
<p>* Sometimes client with <strong>Windows Dedicated Hosting</strong> package change the RDP port of their server and forget it, the steps below can be used for checking the RDP port as well as changing it as well, these steps will require to make changes in Registry hence it is recommended to backup the registry before following these steps:</p>
<p>Goto Start &gt;&gt; Run<br />
Type: regedit to open the registry editor MMC<br />
Expand to the Key:<br />
<code>[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp]</code><br />
Modify the value for Key &#8220;PortNumber&#8221;<br />
Change Base to Decimal</p>
<p><img class="aligncenter size-medium wp-image-376" title="windows-dedicated-hosting-rdp-port" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/02/windows-dedicated-hosting-rdp-port-300x177.png" alt="windows dedicated hosting rdp port 300x177 Check list for Remote Desktop not Working" width="300" height="177" /><br />
Change Value data to the port your desire for your Dedicated Server<br />
Click OK<br />
Reboot the Machine.</p>
<p>Once the machine is online you will have to define your the port to connect your Dedicated Server remotrly<br />
<code>ip_address:port_number<br />
10.10.10.52:3362</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/hosting-security/check-list-for-remote-desktop-not-working/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Enable SQL 2005 Remote Connections</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/enable-sql-2005-remote-connections/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/enable-sql-2005-remote-connections/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 19:53:44 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[MSSQL Server]]></category>
		<category><![CDATA[Browser service]]></category>
		<category><![CDATA[remote connection]]></category>
		<category><![CDATA[Windows firewall]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=33</guid>
		<description><![CDATA[Enable remote connections for SQL Server 2005 Express or SQL Server 2005 Developer Edition You must enable remote connections for each instance of SQL Server 2005 that you want to connect to from a remote computer. To do this, follow these steps: 1.    Click Start, point to Programs, point to Microsoft SQL Server 2005, point [...]]]></description>
			<content:encoded><![CDATA[<h3 id="tocHeadRef">Enable remote connections for SQL Server 2005 Express or SQL Server 2005 Developer Edition</h3>
<p><script type="text/javascript"><!--
loadTOCNode(2, 'moreinformation');
// --></script>You must enable <strong>remote connections</strong> for each instance of <strong>SQL Server 2005</strong> that you want to connect to from a<strong> remote computer</strong>. To do this, follow these steps:</p>
<p>1.    Click Start, point to Programs, point to<strong> Microsoft SQL Server 2005</strong>, point to Configuration Tools, and then click <strong>MS SQL Server</strong> Surface Area Configuration.<br />
2.    On the <strong>MS SQL Server 2005</strong> Surface Area Configuration page, click Surface Area Configuration for Services and Connections.<br />
3.    On the <strong>Surface Area Configuration</strong> for Services and Connections page, expand <strong>Database </strong>Engine, click <strong>Remote Connections</strong>, click Local and remote connections, click the appropriate protocol to enable for your environment, and then click Apply.</p>
<p>Note Click OK when you receive the following message:<br />
Changes to Connection Settings will not take effect until you restart the <strong>Database </strong>Engine service.<br />
4.    On the Surface Area Configuration for Services and Connections page, expand Database Engine, click Service, click Stop, wait until the <strong>MSSQLSERVER </strong>service stops, and then click Start to restart the <strong>MSSQLSERVER </strong>service.</p>
<h3 id="tocHeadRef">Enable the SQL Server Browser service</h3>
<p><script type="text/javascript"><!--
loadTOCNode(2, 'moreinformation');
// --></script>If you are running <strong>MS SQL Server 2005</strong> by using an <strong>instance name</strong> and you are not using a specific <strong>TCP/IP</strong> port number in your connection string, you must enable the <strong>SQL Server Browser </strong>service to allow for <strong>remote connections</strong>. For example,<strong> MS SQL Server 2005 Express</strong> is installed with a default instance name of <var>Computer Name</var>\SQLEXPRESS. You are only required to enable the SQL Server Browser service one time, regardless of how many instances of <strong>SQL Server 2005</strong> you are running. To enable the <strong>MS SQL Server </strong>Browser service, follow these steps.</p>
<p><span id="more-33"></span></p>
<p><strong>Important</strong> These steps may increase your security risk. These steps may also make your computer or your network more vulnerable to attack by malicious users or by malicious software such as viruses. We recommend the process that this article describes to enable programs to operate as they are designed to, or to implement specific program capabilities. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this process in your particular environment. If you choose to implement this process, take any appropriate additional steps to help protect your system. We recommend that you use this process only if you really require this process.</p>
<p>1.    Click Start, point to Programs, point to <strong>Microsoft SQL Server 2005</strong>, point to Configuration Tools, and then click <strong>SQL Server Surface Ar</strong>ea Configuration.<br />
2.    On the <strong>MS SQL Server 2005</strong> Surface Area Configuration page, click Surface Area Configuration for Services and Connections.<br />
3.    On the Surface Area Configuration for Services and Connections page, click <strong>SQL Server Browser</strong>, click Automatic for Startup type, and then click Apply.</p>
<p>Note When you click the Automatic option, the <strong>SQL Server Browser service</strong> starts automatically every time that you start <strong>Microsoft Windows</strong>.<br />
4.    Click Start, and then click OK.</p>
<p><strong>Note</strong> When you run the <strong>MS SQL Server</strong> Browser service on a computer, the computer displays the instance names and the connection information for each instance of SQL Server that is running on the computer. This risk can be reduced by not enabling the SQL Server Browser service and by connecting to the instance of SQL Server directly through an assigned TCP port. Connecting directly to an instance of <strong>SQL Server </strong>through a TCP port is beyond the scope of this article. For more information about the SQL Server Browser server and connecting to an instance of SQL Server, see the following topics in SQL Server Books Online:</p>
<p><strong>•    SQL Server Browser Service<br />
•    Connecting to the SQL Server Database Engine<br />
•    Client Network Configuration</strong></p>
<h3 id="tocHeadRef">Create exceptions in Windows Firewall</h3>
<p><script type="text/javascript"><!--
loadTOCNode(2, 'moreinformation');
// --></script>These steps apply to the version of <strong>Windows Firewall</strong> that is included in <strong>Windows XP</strong> <strong>Service Pack 2 (SP2) </strong>and in <strong>Windows Server 2003</strong>. If you are using a different firewall system, see your <strong>firewall</strong> documentation for more information.</p>
<p>If you are running a firewall on the computer that is running <strong>SQL Server 2005</strong>, external connections to <strong>SQL Server 2005 </strong>will be blocked unless <strong>SQL Server 2005</strong> and the<strong> SQL Server Browser service</strong> can communicate through the <strong>firewall</strong>. You must create an exception for each instance of <strong>SQL Server 2005</strong> that you want to accept remote connections and an exception for the <strong>SQL Server Browser service</strong>.</p>
<p><strong>MS SQL Server 2005</strong> uses an <strong>instance </strong>ID as part of the path when you install its program files. To create an exception for each instance of <strong>MS SQL Server</strong>, you must identify the correct instance ID. To obtain an instance ID, follow these steps:</p>
<p>1.    Click Start, point to Programs, point to <strong>Microsoft SQL Server 2005</strong>, point to Configuration <strong>Tools</strong>, and then click <strong>SQL Server</strong> Configuration Manager.<br />
2.    In <strong>SQL Serve</strong>r Configuration Manager, click the SQL Server Browser service in the right pane, right-click the instance name in the main window, and then click Properties.<br />
3.    On the <strong>SQL Server </strong>Browser Properties page, click the Advanced tab, locate the instance ID in the property list, and then click OK.</p>
<p>To open Windows Firewall, click <strong class="uiterm">Start</strong>, click <strong class="uiterm">Run</strong>, type <span class="userInput">firewall.cpl</span>, and then click <strong class="uiterm">OK</strong>.</p>
<h4 id="tocHeadRef">Create an exception for MS SQL Server 2005 in Windows Firewall</h4>
<p><script type="text/javascript"><!--
loadTOCNode(3, 'moreinformation');
// --></script>To create an exception for <strong>MS SQL Server 2005</strong> in <strong>Windows Firewall</strong>, follow these steps:</p>
<p>1.    In <strong>Windows Firewall</strong>, click the Exceptions tab, and then click Add Program.<br />
2.    In the Add a Program window, click Browse.<br />
3.    Click the <strong>C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqlservr.exe</strong> executable program, click Open, and then click OK.</p>
<p>Note The path may be different depending on where <strong>SQL Server 2005</strong> is installed. <strong>MSSQL.1</strong> is a placeholder for the instance ID that you obtained in step 3 of the previous procedure.<br />
4.    Repeat steps 1 through 3 for each instance of SQL Server 2005 that needs an exception.</p>
<h4 id="tocHeadRef">Create an exception for the MS SQL Server Browser service in Windows Firewall</h4>
<p><script type="text/javascript"><!--
loadTOCNode(3, 'moreinformation');
// --></script>To create an exception for the SQL Server Browser service in Windows Firewall, follow these steps:</p>
<p>1.    In Windows <strong>Firewall</strong>, click the Exceptions tab, and then click Add Program.<br />
2.    In the Add a Program <strong>window</strong>, click Browse.<br />
3.    Click the <strong>C:\Program Files\Microsoft SQL Server\90\Shared\sqlbrowser.exe</strong> executable program, click Open, and then click OK.</p>
<p>Note The path may be different depending on where <strong>MS SQL Server 2005</strong> is installed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/enable-sql-2005-remote-connections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
