【发布时间】:2016-04-01 07:44:29
【问题描述】:
首先,我搜索了这个问题,但找不到任何东西。
问题:
在安装时,我将port 更改为8081。但现在它被另一个应用程序使用。那么,有什么办法可以更改upsource 的端口吗? (Linux)
【问题讨论】:
首先,我搜索了这个问题,但找不到任何东西。
问题:
在安装时,我将port 更改为8081。但现在它被另一个应用程序使用。那么,有什么办法可以更改upsource 的端口吗? (Linux)
【问题讨论】:
我知道这个问题是特定于 Linux 的,但是如果您在 Windows 上运行 Upsource...@Wassim Seifeddine 的答案中的命令可以修改为以下内容,以完成 Upsource 的端口和/或 base-url 更新,如图所示下面:
[upsource-base-path]/bin/upsource.bat stop
[upsource-base-path]/bin/upsource.bat configure --base-url=http://(server-name).com:(port) --listen-port=(port)
[upsource-base-path]/bin/upsource.bat start
【讨论】:
这是正确的方法。
1../bin/upsource.sh stop
2../bin/upsource.sh configure --base-url=@987654321@ --listen-port=(port)
3../bin/upsource.sh start
4. 前往http://(server-name).com:(port)
【讨论】:
您可以从终端运行以下命令:
./bin/upsource.sh configure --listen-port 1111 --base-url http://servername:1111/
将“1111”替换为您要使用的端口,并将“servername”替换为您为 upsource 选择的 baseurl(在我的情况下,这是我的机器的名称)。
来源:https://www.jetbrains.com/help/upsource/2.5/moving-your-upsource-installation-to-another-server.html
【讨论】: