在SQL Server 組態管理員中,展開SQL Server 2005的網路設定,然後點擊伺服器執行個體如:MSSQLSERVER 的協議。
在右窗格中,雙擊TCP/IP協議。
在TCP/IP屬性對話方塊中,單擊IP地址選項卡。
在TCP連接埠框中的IPAll節,輸入一個可用的連接埠號碼。對於本教程中,我們將使用1500。
單擊確定以關閉該對話方塊,然後單擊確定的警告說,必須重新啟動服務。
在左窗格中,單擊SQL Server 2005的服務。
在右窗格中,按右鍵SQL Server執行個體如:SQL Server (MSSQLSERVER),然後單擊重新啟動。當資料庫引擎重新啟動時,它將偵聽連接埠1500 。
In SQL Server Configuration Manager, expand SQL Server 2005 Network Configuration, and then click on the server instance you want to configure.
In the right pane, double-click TCP/IP.
In the TCP/IP Properties dialog box, click the IP Addresses tab.
In the TCP Port box of the IPAll section, type an available port number. For this tutorial, we will use 1500.
Click OK to close the dialog box, and click OK to the warning that the service must be restarted.
In the left pane, click SQL Server 2005 Services.
In the right pane, right-click the instance of SQL Server, and then click Restart. When the Database Engine restarts, it will listen on port 1500.