更改 TeamCity Web 服务器的端口

发布于 2024-08-23 13:38:54 字数 131 浏览 2 评论 0 原文

我安装了 TeamCity 并让它在我的项目中运行。然而,我后来意识到我不希望在端口 80 上配置管理页面。我将在该服务器上拥有其他我想要在默认端口上的网站。如何更改配置的端口?

我稍微浏览了一下配置并查看了管理设置,但无法弄清楚。

I installed TeamCity and got it working against my project. However, I have since realized that I don't want it the administration page to be configured on port 80. I'm going to have other websites on that server that I want on the default port. How do I change the configured port?

I wandered around the configurations a bit and looked through the administration settings but couldn't figure it out.

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

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

发布评论

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

评论(2

天涯离梦残月幽梦 2024-08-30 13:38:54

可以在 /conf/server.xml 文件的 .


来自安装和配置 TeamCity 服务器

The port number can be edited in the <TeamCity home>/conf/server.xml file, line <Connector port="8111" protocol="HTTP/1.1".

from Installing and Configuring the TeamCity server

奈何桥上唱咆哮 2024-08-30 13:38:54

要添加 @sfussenegger 提供的答案,您还需要确保您的构建代理仍然可以连接到新端口上的 TeamCity 服务器实例,否则您的构建将无法运行。

为此,您需要更改构建代理配置文件以反映新的 serverUrl 值。您可以在 C:\TeamCity\buildAgent\conf\buildAgent.properties 文件中找到此设置。

To add to the answer provided by @sfussenegger you will also need to make sure that your build agents can still connect to the TeamCity server instance on the new port, or else your builds won't run.

To do this, you'll need to change the build agent configuration files to reflect the new serverUrl value. You can find this setting in the C:\TeamCity\buildAgent\conf\buildAgent.properties file.

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