自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

sql server端口的更改方法

數(shù)據(jù)庫(kù) SQL Server
sql server的默認(rèn)端口應(yīng)該如何修改呢?下面就將為您講解sql server默認(rèn)端口的更改方法,希望能夠幫您解決sql server端口的一些問(wèn)題。

sql server端口如果出現(xiàn)問(wèn)題,會(huì)直接影響sql server的登錄,下面就教您sql server端口的更改方法,供您參考,讓您不再為sql server端口問(wèn)題而頭疼。

今天遇到一個(gè)問(wèn)題,sql server無(wú)法登陸,到Services里看,服務(wù)沒有起來(lái)。但是在啟動(dòng)Service時(shí)遇到問(wèn)題說(shuō)無(wú)法啟動(dòng)。去Administrative Tools->Event Viewer中查看了一下,發(fā)現(xiàn)如下錯(cuò)誤(該錯(cuò)誤在SQL Server日志中也可以查看到,目錄在C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Log):

Server TCP provider failed to listen on [ 'any' <ipv4> 1433]. Tcp port is already in use.

TDSSNIClient initialization failed with error 0x2740, status code 0xa. Reason: Unable to initialize the TCP/IP listener. Only one usage of each socket address (protocol/network address/port) is normally permitted.

知道可以用netstat -ano命令查看系統(tǒng)sql server端口的使用情況。檢查后沒有發(fā)現(xiàn)1433端口在使用。

所以直接改了SQL Server的TCP/IP端口。更改辦法如下:

In SQL Server Configuration Manager, expand SQL Server 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 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.
更改后終于可以訪問(wèn)了。
 

 

 

【編輯推薦】

sql server日志文件過(guò)大的解決辦法

sql server外鍵建立的寫法

教您sql server外鍵的設(shè)置和刪除

sqlserver分頁(yè)存儲(chǔ)過(guò)程實(shí)例

SQL SERVER分區(qū)視圖

責(zé)任編輯:段燃 來(lái)源: 互聯(lián)網(wǎng)
相關(guān)推薦

2010-11-10 09:44:31

SQL Server端

2010-09-08 14:22:19

sql server端口配置

2010-07-20 14:07:31

更改TELNET端口

2010-11-10 09:55:50

2010-07-05 17:55:26

SQL Server更

2010-09-25 10:48:59

SQL字段類型長(zhǎng)度

2011-07-25 18:41:47

SQL Server數(shù)默認(rèn)端口

2010-10-19 14:11:20

SQL SERVER恢

2010-11-10 15:23:55

SQL SERVER

2010-10-21 12:03:35

SQL Server視

2010-06-17 16:59:51

SQL Server身

2010-09-14 15:34:29

sql server死

2010-11-09 17:02:43

SQL Server死

2011-04-02 17:08:44

SQL Server死鎖

2010-06-28 11:40:44

SQL Server

2010-11-12 10:23:05

SQL Server變

2010-07-20 14:50:05

telnet端口

2010-07-21 12:24:45

SQL Server表

2010-07-21 10:41:55

SQL Server

2010-09-16 16:35:31

sql server表
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)