<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "解決SQL Server 2005 Express本機無法連線1433 port"]]></title>
		<link>https://forum.andowson.com/posts/list/12.page</link>
		<description><![CDATA[Latest messages posted in the topic "解決SQL Server 2005 Express本機無法連線1433 port"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>解決SQL Server 2005 Express本機無法連線1433 port</title>
				<description><![CDATA[ 為了測試方便，我將Tomcat 6.0.18和SQL Server 2005 Express安裝在同一部主機，按照習慣下載了[url=http://www.microsoft.com/downloads/details.aspx?displaylang=zh-tw&amp;FamilyID=c47053eb-3b64-4794-950d-81e1ec91c1ba]Microsoft SQL Server 2005 JDBC Driver 1.2[/url]，解壓縮後將jar檔放在Tomcat 6的lib目錄下，設定相關的JDBC設定後，卻出現TCP/IP 連線被拒的錯誤訊息: 
<br>
[quote]com.microsoft.sqlserver.jdbc.SQLServerException: 連接到主機 的 TCP/IP 連接已經失敗。 java.net.ConnectException: Connection[/quote] 
<br>
<br>
經由同事分享經驗告知解法如下： 
<br>
將SQLEXPRESS的通訊協定之TCP/IP設定調整一下，應該要啟用，如果有顯示啟用，再點右鍵進入內容 
<br>
[img]http://sites.google.com/site/andowson/_/rsrc/1222268706397/Home/sql2005_protocol.jpg[/img] 
<br>
在最底下的IPALL的TCP通訊埠輸入port值為1433 
<br>
[img]http://sites.google.com/site/andowson/_/rsrc/1222268747047/Home/sql2005_tcp_port.jpg[/img] 
<br>
重新啟動SQL Server Express即可 
<br>
[img]http://sites.google.com/site/andowson/_/rsrc/1222268732738/Home/sql2005_restart.jpg[/img] 
<br>
<br>]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/275/485.page</guid>
				<link>https://forum.andowson.com/posts/preList/275/485.page</link>
				<pubDate><![CDATA[Wed, 24 Sep 2008 23:25:51]]> GMT</pubDate>
				<author><![CDATA[ andowson]]></author>
			</item>
	</channel>
</rss>