英文:
unable to connect to Azure DevOps Server from VS 2019
问题
我刚刚在我的服务器上安装了Azure DevOps 2019。我可以通过Web门户访问DevOps服务器,但当我尝试使用VS 2019 - 团队资源管理器 - 管理连接 - 添加Azure DevOps服务器时,我收到一个错误消息:“TF400324:Azure DevOps服务无法从服务器http://xx.xx.xx.xx:8080/tfs访问。”
我还注意到VS会在我添加的IP后面添加:8080/tfs,但这不是正确的地址。在使用Team Foundation Server时,这个地址是有效的,但Azure DevOps不使用相同的地址。
那么,我如何从VS 2019连接到新的Azure DevOps服务器呢?
英文:
I just installed Azure Devops 2019 on my server. I can access the devops server fine through the web portal but when I try to connect using VS 2019 - team explorer - manage connections - Add Azure Devops Server I get a error "TF400324: Azure DevOps Service are not available from server http://xx.xx.xx.xx:8080/tfs."
I also see that VS add :8080/tfs to the IP I add. But thats not the correct adress. When using Team Foundation Server this adress was valid but Azure Devops does not use the same.
So how can I connect to the new Azure DevOps server from VS 2019?
答案1
得分: 7
你可以尝试以下方法连接到新的Azure DevOps服务器:
-
关闭所有Visual Studio实例,然后清理VS缓存(
%LocalAppData%\Microsoft\VisualStudio\16.xxx\ComponentModelCache
)和TFS缓存(%LocalAppData%\Microsoft\Team Foundation\xx\Cache
)。 -
前往控制面板 -> 用户帐户 -> 管理您的凭据 -> Windows凭据,选择VSTS的URL并移除它。
-
重新启动VS以重新连接到DevOps服务器。
此外:
-
确保您输入了正确的URL。在VS中,如果我没有输入正确的TFS实例URL,我会收到以下错误:
-
许多因素都可以引发
TF400324
错误,就像上面提到的一样。因此,如果您能分享更多关于您的TF400324
、remote name not resolve
、Could not create SSL/TLS secure channel
等错误的详细信息,那将更有助于解决问题。
英文:
> So how can I connect to the new Azure DevOps server from VS 2019?
You can try:
1.Close all VS instances and then clean VS cache(%LocalAppData%\Microsoft\VisualStudio\16.xxx\ComponentModelCache
) and TFS cache(%LocalAppData%\Microsoft\Team Foundation\xx\Cache
).
2.Go to Control Panel -> User Accounts -> Manage your Credential -> Windows Credential, select the VSTS url to remove it.
3.Restart VS to re-connect to Devops server.
In addition:
1.Make sure you enter the correct URL. In VS if I don't enter correct URL of tfs instance, I would get this error:
2.Many factors can cause TF400324
, just like above. So it could be better if you can share more details about your TF400324
, remote name not resolve
,Could not create SSL/TLS secure channel
or what.
答案2
得分: 0
我在连接DevOps时遇到了问题。我同时使用了https和http。对我来说,关键是在“Azure DevOps Server Administration Console”中“更改公共URL”。这是在“应用程序层”上完成的。一旦我完成了这个步骤,HTTPS的重定向就起作用了,因为它使用了与我使用的证书匹配的完全合格的DNS名称。
如果您没有使用HTTPS,那么您可能只是遇到了DNS服务器的问题。检查客户端PC上的DNS设置,并使用ping或nslookup之类的工具查看服务器名称是否解析为正确的IP地址。
英文:
I had issues connecting to DevOps. I was using https and http. The trick for me was to "Change Public URL" in the "Azure DevOps Server Administration Console". This was done on the "Application Tier". Once I had this done the redirect for HTTPS worked because it used a fully qualified DNS name that matched the certificate I was using.
If you are not using HTTPS, then you may just have a DNS server issue. Check the DNS settings on the client PC and use something like ping or nslookup to see if the server name resolves to the correct IP address.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论