更改 Sql Server 2005 默认端口方法
2009-08-20 16:51
543 查看
在SQL Server 配置管理器中,展开SQL Server 2005的网络配置,然后点击服务器实例如:MSSQLSERVER 的协议。
在右窗格中,双击TCP/IP协议。
在TCP/IP属性对话框中,单击IP地址选项卡。
在TCP端口框中的IPAll节,输入一个可用的端口号。我们将使用1800。
单击确定以关闭该对话框,然后单击确定的警告说,必须重新启动服务。
在左窗格中,单击SQL Server 2005的服务。
在右窗格中,右键单击SQL Server实例如:SQL Server (MSSQLSERVER),然后单击重新启动。当数据库引擎重新启动时,它将侦听端口1800 。
--------------------------------------------------------------------------------
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 1800.
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 1800.
在myeclipse里建数据库的时候就会出现"Network error IOException:Connection refused:connect"的错误,就去网上查找原因..大家说的最大的问题是SQL Server2005的端口1433没有设置,再就是,防火墙是否拦截。
设置默认端口的方法是:程序--SQL Server2005--配置工具--SQL Server Configuration Manager.
点进去会出现一个窗口,SQL Server 配置管理器--SQL Server 2005 网络配置--MSSQLSERVER的协议,将里面的TCP/IP,将他的状态设置为"已启用".再双击看看是不是端口为1433,就OK了.
然后重启一个SQL server服务就全部OK了.
在右窗格中,双击TCP/IP协议。
在TCP/IP属性对话框中,单击IP地址选项卡。
在TCP端口框中的IPAll节,输入一个可用的端口号。我们将使用1800。
单击确定以关闭该对话框,然后单击确定的警告说,必须重新启动服务。
在左窗格中,单击SQL Server 2005的服务。
在右窗格中,右键单击SQL Server实例如:SQL Server (MSSQLSERVER),然后单击重新启动。当数据库引擎重新启动时,它将侦听端口1800 。
--------------------------------------------------------------------------------
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 1800.
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 1800.
在myeclipse里建数据库的时候就会出现"Network error IOException:Connection refused:connect"的错误,就去网上查找原因..大家说的最大的问题是SQL Server2005的端口1433没有设置,再就是,防火墙是否拦截。
设置默认端口的方法是:程序--SQL Server2005--配置工具--SQL Server Configuration Manager.
点进去会出现一个窗口,SQL Server 配置管理器--SQL Server 2005 网络配置--MSSQLSERVER的协议,将里面的TCP/IP,将他的状态设置为"已启用".再双击看看是不是端口为1433,就OK了.
然后重启一个SQL server服务就全部OK了.
相关文章推荐
- SQL Server 2005无法进行远程连接的解决办法和更改默认端口
- Sql Server 2005及2000 默认端口修改方法
- Sql Server 2005 默认端口修改方法
- WAMP Server 和IIS 7在Windows中同时运行,更改 Wampserver默认端口的解决方法
- 更改Tomcat默认目录,端口 (含设置缺省网页的方法 )
- python链接数据库SQL Server 2005出错怎么办???附解决方案以及开启TCP/IP协议和查看默认端口的过程
- SQL Server 2005/2008 用户数据库文件默认路径和默认备份路径修改方法
- SQL Server默认1433端口修改方法
- SQL Server默认1433端口修改方法
- SQL Server 2005/2008 用户数据库文件默认路径和默认备份路径修改方法
- 更改SQL Server 2005数据库中tempdb位置的方法
- SQL Server 2005中更改sa的用户名的方法
- [转]更改Tomcat默认目录+端口+设置缺省网页的方法
- 三个SQL Server 2005的实例在同一台机器上存在的方法(不允许端口相同)
- 更改Tomcat默认目录,端口 (含设置缺省网页的方法 ) 【备忘】【转】
- 更改Tomcat默认目录,端口 (含设置缺省网页的方法 ) 【备忘】【转】
- wordpress更改默认端口的方法
- 更改SQL SERVER默认端口
- Tomcat中更改默认端口、更改默认根目录、更改默认页的配置方法
- SQL Server 2005 更改端口