SQL Server 2008 中的静态端口分配不保存

发布于 2024-07-12 13:11:23 字数 308 浏览 10 评论 0原文

我有两个 SQL Server 2008 命名实例,并尝试为每个实例设置静态端口。 我打开SQL Server配置管理器_> 展开“SQL Server 网络配置”-> 点击我要更改的实例-> 并选择 TCP/IP。

从这里开始,我所做的任何配置更改在单击“确定”后都不会保留。 我尝试将“TCP 动态端口”选项设置为空白,并在 IPALL 部分下的“TCP 端口”选项下设置所需的端口号,但每次返回配置屏幕时,更改不再出现。

我已经尝试过取消该服务,但这也没有帮助。

有人对这里发生的事情有任何想法吗?

I have two named instances of SQL Server 2008 and am trying to set static ports for each instance. I open the SQL Server Configuration Manager _> expand "SQL Server Network Configuration" -> click the instance I want to change -> and select TCP/IP.

From here any configuration changes that I make are not persisted after I hit OK. I've tried setting the "TCP Dynamic Ports" option to blank, and setting my desired port # under the "TCP Port" option under the IPALL section but each time when I return to the configuration screen the changes no longer appear.

I've tried bouncing the service and that doesn't help either.

Does anyone have any thoughts as to what is going on here?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

知你几分 2024-07-19 13:11:23

事实证明,问题是我的帐户不是计算机上的本地管理员。 我是 SQL Server 的系统管理员,所以我认为它可以工作。

令人沮丧的是,界面没有提醒我我没有权限,它只是告诉我我的更改已保存并继续忽略它们。

感谢所有回答的人!

Turns out the problem was that my account wasn't a local admin on the machine. I'm a sysadmin on the SQL Server so I assumed it would work.

The frustrating thing is that the interface didn't alert me that i didn't have permissions it simply told me that my changes were saved and proceeded to ignore them.

thanks to all those who answered though!

紫轩蝶泪 2024-07-19 13:11:23

更改后是否重新启动 SQL Server?

Did you restart the SQL Server after you made the change?

一生独一 2024-07-19 13:11:23

您是否更改特定 NIC 下或 IPAll 部分下的 TCP 端口?

您应该在 IPAll 下(在最底部)执行此操作。

Are you changing the TCP Port under a specific NIC or under the IPAll section?

You should be doing it under the IPAll (at the very bottom).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文