简体   繁体   English

如何连接到windows azure vm托管的团队基础服务器?

[英]how to connect to windows azure vm-hosted team foundation server?

I installed TFS on windows azure VM, this VM has public ip:42.134.156.116 for example,i find it is with the port 63630 indeed when i remote this VM with using a downloaded .RDP file. 我在windows azure VM上安装了TFS,这个VM有公共IP:42.134.156.116,我发现当我使用下载的.RDP文件远程访问这个虚拟机时,它确实是端口63630。 In visual studio on my local machine, i can not connect to this tfs via its public IP. 在我本地计算机上的visual studio中,我无法通过其公共IP连接到此tfs。

I think this maybe a port or firewall issue,but not exactly. 我认为这可能是端口或防火墙问题,但并不完全如此。 because vm has the port 63630 and tfs defualt port is 8080, in addition:the inbound rule of port 8080 has the Profiles "private" and "public", , any help? 因为vm有端口63630而tfs defualt端口是8080,另外:端口8080的入站规则有Profiles“private”和“public”,有什么帮助吗?

In Azure go to the VM and click on the endpoints and enable 8080 for your TFS. 在Azure中,转到VM并单击端点并为您的TFS启用8080。

Azure also has firewall rules as well as your local VM. Azure还具有防火墙规则以及本地VM。 The VM as you mentioned looks to have 8080 inbound open. 您提到的VM看起来有8080入站打开。

Regarding your local VM firewall, whether it is public or private depends on what type of network you assigned to your local VM network. 关于本地VM防火墙,无论是公共还是私有,都取决于您为本地VM网络分配的网络类型。

Then try to telnet from your local machine to your VM to confirm the port is open. 然后尝试从本地计算机远程登录到VM以确认端口已打开。

Then if that works you should be able to connect. 然后,如果它工作,你应该能够连接。 If you can't after that point, it is a TFS or VS Configuration issue. 如果在那之后你不能,那就是TFS或VS配置问题。

If you are having troubles, I normally find it good to disable ALL firewalls, get a good connection, then switch them on one by one until you find out which one is causing the issue. 如果您遇到麻烦,我通常会发现禁用所有防火墙,获得良好的连接,然后逐个切换它们直到找到导致问题的防火墙。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM