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

MSSQL
系统存储过程sp_MSforeachtable和sp_MSforeachdb使用说明
一些文件未注册导致mssql表文件无法找开的解决方法
用sql获取某字符串中的数字部分的语句
SQL 判断字段类型语句
MSSQL 生成日期列表代码
MSSQL 计算两个日期相差的工作天数的语句
SqlServer 实用操作小技巧集合
sql中all,any,some用法
最常用的SQL语句
SQL语法 分隔符理解小结
sql 服务器知识
隐藏在SQLServer 字段中的超诡异字符解决过程
将备份数据还原到数据库的步骤
SQL Server 高速缓存依赖分析
SQL 多表连接查询实现语句
sql convert函数使用小结
sqlserver2005 行列转换实现方法
跨服务器查询导入数据的sql语句
返回SQL执行时间的存储过程
MSSQL ISQL命令详解

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-13   浏览: 430 ::
收藏到网摘: 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.