当前位置: 首页 > 图文教程 > 数据库 > MSSQL > Sql Server 2005 默认端口修改方法

MSSQL
SQLServer数据库和Access数据库的各自特点
SQLite数据库最适合做网站内容管理系统(CMS)
彻查SQL Server数据库查询速度慢
BUILTIN\Administrators登陆账号
PHP简单学习,保证入门学会
网站主机教程(7):网站主机的数据库技术
SQL入门:SQL Server 2000企业版安装
SQL入门:MSDE 2000无人职守自动安装
如何连接注册远程SQL Server数据库
提高SQL Server安装安全性要做的10件事
SQL Server连接体系结构的客户端
为SQL Server提供更多的内存
检测SQL Server数据库服务器异常现象
SQL Server入门教程(1):SQL简介和SQL语法
SQL Server入门教程(2):Select和DISTINCT语句
SQL2008新特性Resource Governor
教你配置安全稳定的SQL Server数据库
SQL Server教程:学习SELECT
如何替换SQL Server数据库内容
Sql-Server应用程序的高级Sql注入

MSSQL 中的 Sql Server 2005 默认端口修改方法


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-13   浏览: 488 ::
收藏到网摘: n/a

一般服务器为了安全有可能需要更改下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.