change server url from localhost
<p>I installed teamcity 9.1 on mac os. I can access teamcity via <code>http://localhost:8111/</code>. I can change port in file <code>TeamCity/conf/server.xml</code> by changing <code>&lt;Connector port="8111" protocol="org.apache.coyote.http11.Http11NioProtocol"</code>.</p>

<p>But how can I change server url e.g. <code>http://localhost:8111/</code> to <code>http://teamcity.test:8111/</code></p>

<p>I tried changing in <code>server.xml</code> from <code>&lt;Engine name="Catalina" defaultHost="localhost"&gt;</code> </p>

<p>But after I start teamcity as <code>./runAll.sh start</code> it stills can access from <code>http://localhost:8111/</code> but not from <code>http://teamcity.test:8111/</code></p>