Teamcity blocked externally

Issues related to configuring your network
Post Reply
Posts: 2
Joined: 2017/04/21 05:24:17

Teamcity blocked externally

Post by berniefitz » 2017/04/21 05:56:21


Firstly I'm a CentOS newbie.

I am trying to view my teamcity ( externally.

I followed the installation instructions at jetbrains and everything seems to be up and running fine. I have browsed the teamcity site on my server at (I changed the custom port for testing from 8111 to 8112) and it seems to be working correctly.

When I try and view the site externally I just get timed out.

I have checked my firewall rules as follows:

Code: Select all

firewall-cmd --state
firewall-cmd --get-default-zone
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: eth0
  services: dhcpv6-client http https ssh
  ports: 443/tcp 80/tcp 8111/tcp 8112/tcp
  masquerade: no
  rich rules:

I have set tomcat connector to port 8112 in the <TeamCity>/conf/server.xml file as well/

From this point I'm not sure what I need to change in order to see the site?

Please let me know what other information is required to figure this out and I'll post accordingly.

Thanks in advance
Last edited by berniefitz on 2017/04/21 10:44:54, edited 1 time in total.

User avatar
Forum Moderator
Posts: 22777
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Teamcity blocked externally

Post by TrevorH » 2017/04/21 10:33:45

If you've checked your own firewalld rules and the right port is allowed access and you have run ss -antup | grep 8112 and it is listening on other than only then it's likely that your hoster has an external firewall that's blocking the port.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Posts: 2
Joined: 2017/04/21 05:24:17

Re: Teamcity blocked externally

Post by berniefitz » 2017/04/21 12:24:52

Looks like firewall-cmd was blocking the connection after all.

Thanks for your help (I'm sure I'll be back) :)

Post Reply