我们的 Artifactory 与 Jenkins 和 Octopus 位于不同的子网上。我需要为此建立防火墙规则。我们使用 jfrog.exe 来推送和检索 Artifactory ,因为它比 REST API 快得多。 jfrog.exe 使用的默认端口是什么?
打开端口 80、443 和 8080 并没有解决问题。
最佳答案
它使用您配置的内容。 参见这里:https://www.jfrog.com/confluence/display/CLI/CLI+for+JFrog+Artifactory#CLIforJFrogArtifactory-Configuration
如果您在没有端口的情况下配置它,它将使用默认协议(protocol),http:80,https:443。
默认情况下 Artifactory 运行端口 8081。
此外,如果您使用 RSA key 进行身份验证,您可能需要打开 Artifactory 的 ssh 端口(这并不常见) 看这里: https://www.jfrog.com/confluence/display/CLI/CLI+for+JFrog+Artifactory#CLIforJFrogArtifactory-AuthenticatingwithRSAKeys
一般来说,您应该打开用户用于访问 Artifactory 的端口。
关于artifactory - jfrog.exe 用于与 Artifactory 通信的默认 tcp 端口是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57363081/