Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to access/find TeamCity localhost page

I have a reoccurring problem with TeamCity. On my company I have installed TeamCity three different times and successfully connected them to some kind of SVN-repo.

But after a while I have always got the same error, unable to access localhost, i.e. TeamCity's login-page (I start the browser and it can't find localhost).

I have tried to find a solution but with no success, I also tried to get TeamCity to stop working (to find out what causing the problem) but also without success.

The tricky part is that I don't know why it happens and I have no clue how to fix it. It just happens suddenly. The logs does not tell me anything and all the services/ports/etc is working properly. It just, out of the blue, loses its startpage-connection.

I run TeamCity on a Win 2008 Server R2. So, does anyone have a clue or some ideas that might help me to fix this?

like image 671
Kristian Avatar asked Jul 07 '10 13:07

Kristian


1 Answers

It's solved. No valid information was to be found in any logs. The silly answer was that, for some reason, port 80, that Tomcat uses, was blocked by a "System:4"-process. After some research it turned out to be the AD.

Never would have suspected that since it happened all of a sudden. That is, it worked for a couple of weeks then just one day - nothing.

You'll have to edit

  • TeamCity\conf\server.xml
  • TeamCity\buildAgent\conf\buildAgent.properties

to use another port instead of the default port.

like image 86
Kristian Avatar answered Nov 05 '22 13:11

Kristian