0

After completing a fresh install of TeamCity and attempting to run TeamCity on a different port than the default (8111) using the below configuration in the <TeamCity Directory>/conf/server.xml:

<!-- Run TeamCity on port 80 (localhost) -->
<Connector port="80" protocol=...></Connector>

I am unable to access TeamCity on localhost. Running curl yields the following results:

$ curl localhost
Failed to connect to localhost on port 80: Connection Refused
SaoBiz
  • 111
  • 3

1 Answers1

1

Because port 80 is a privileged port, root access must be given during TeamCity's start up for it to be able to run on port 80.

$ sudo <TeamCity Dir>/bin/runAll.sh start

SaoBiz
  • 111
  • 3