tags:

views:

122

answers:

1

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.

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.

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.

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

+2  A: 

Verify that the server is running on port which is not blocked by the firewall. Change the port if necessary.

Tomcat also supports binding to specific IP addresses, in case your machine has multiple IPs, you can configure which one to use in server.xml, like:

<Connector port="80" address="10.10.10.10" protocol="HTTP/1.1" 
           connectionTimeout="20000" 
           redirectPort="8443" />

Where 10.10.10.10 is the IP of the server which can be accessed from the remote machine.

Check the server logs to ensure that it's started on the correct IP/port and is accepting connections.

CrazyCoder
Thanks for this. However I had tried all these prior to posting. Have double checked and all is ok. The firewall lts traffic through as an IIS test page, I Have added more ports to the firewall rules but still nothing
Gary Woodfine
Try another browser, could be adblock plug-in, content filter proxy or something else on your remote machine that prevents TeamCity page from loading properly. Also from your description it's not clear what's the server URL, it just says http://. Try using IP address instead.
CrazyCoder
tried opera, firefox and IE
Gary Woodfine
It is a really wierd problem. Like I say If install and setup an IIS set, I can navigate to it no problem from any of the machines in my office. If I unistall IIS and set up the team city on the machine , the website runs fine on the machine, but externally nothing.
Gary Woodfine
server URL is just http://My Server Name , aka http://teamcity
Gary Woodfine
Does it work if you run it on different port and access the server by IP address? Try the clean server installation with all the default configuration (rename ~/.BuildServer directory).
CrazyCoder
Hey, just taking a swing at it I noticed that you can get it to bind to all addresses (seems like this is not the default) if you use this setting in theaddress="*"8)