从远程机器访问 TEAMCITY [英] Accessing TEAMCITY from a remote machine

查看:32
本文介绍了从远程机器访问 TEAMCITY的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法从远程计算机浏览到我的团队城市 (JetBrains).我已按照安装说明进行操作,并且安装进行得很顺利.我可以在服务器上本地浏览 to 应用程序,完全没问题.我将配置文件中的默认服务器 url 更改为 http://my servername .我可以浏览到 http://my 服务器名称,应用程序在本地显示没有问题.该应用程序安装在服务器的默认 80 端口上,没有安装其他 Web 服务器.

I am having trouble browsing to my team city(JetBrains) from a remote machine. I have followed the install directions and the install went smoothly. I can browse the to application locally on the server, no problem at all. I changed the default server url in the config file to be http://my servername . I can browse to http://my server name and the application shows up no problem locally. The application is alos installed on the default 80 port of the server with no other web server installed.

如果我在同一个域上从我的笔记本电脑浏览到 http://my 服务器名,则没有任何反应.当我运行诊断程序时,它似乎启动了网络服务,但没有响应.

If I browse to http://my servername from my laptop on the same domian nothing happens. When I run diagnostics it seems to pick up the webserve but it fails to respond.

作为测试,我卸载了应用程序并安装了 IIS,以查看是否可以远程浏览到默认的 IIS 页面.这根本没有问题.我卸载了 IIS,确保没有任何东西占用服务器上的 80 端口.重新安装应用程序,配置完全相同,仍然没有.该应用程序在本地运行良好,但我无法远程获取任何信息.

As a test I uninstalled the app and installed IIS to see if I could browse to the default IIS page remotely. This worked no problems at all. I uninstalled IIS, ensured nothing was hogging port 80 on the server. Reinstalled the applicaiton, configured it exactly the same, still nothing. The application works fine locally, but I get nothing remotely.

我只是想知道是否有人知道我可以尝试的其他任何事情?还是我需要调整 tomcat 中的设置?

I was just wondering if anybody knows anything else I can try? or is there a setting in tomcat I need to tweak?

推荐答案

我刚刚将 TeamCity 从 7.0 更新到 7.1,现在我遇到了完全相同的问题.

I just updated TeamCity from 7.0 to 7.1, and now I have the exact same issue.

然而,事实证明是什么原因与 TeamCity 升级无关.事实证明,我们的系统管理员设置了一个策略更新来阻止除端口 80 之外的所有传入连接.当我开始升级时,我注意到服务器想要进行一些系统更新.所以我先放手了.

However, what turned out to be the cause had nothing to do w/ the TeamCity upgrade. It turns out our system administrators had setup a policy update to block all incoming connections other than port 80. When I started my upgrade, I noticed the server wanted to do some system updates. So I let that go first.

我怀疑如果我在系统更新后尝试访问 TeamCity 服务器,我会意识到我无法再远程访问该网站.

I suspect that had I tried to access the TeamCity server after the system update, I'd have realized I could no longer access the website remotely.

但由于我是在 TeamCity 更新后才注意到它,我认为它是罪魁祸首,并在那个红鲱鱼上浪费了大量时间.

But since I only noticed it after the TeamCity update, I assumed it to be the culprit and wasted a bunch of time on that red herring.

我的解决方案是

  1. 在服务器上打开 Windows 防火墙
  2. 单击左侧窗格中的根级别选项
  3. 确保在每个配置文件部分下,允许入站连接.

(#3)是我的问题.

希望这能帮助其他人在未来...

Hope this helps someone else out in the future...

这篇关于从远程机器访问 TEAMCITY的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆