php sqlserver 端口号,SqlServer2005默认端口修改方法

SqlServer2005默认端口修改方法

作者:小涵 | 来源:互联网 | 2018-07-14 21:29

阅读: 4779

一般服务器为了安全有可能需要更改下sql的端口,下面是方法。

一般服务器为了安全有可能需要更改下sql的端口,下面是方法。

在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.

吐了个 "CAO" !

吐个槽吧,看都看了

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值