Same for 00646_url_engine

This commit is contained in:
Raúl Marín 2021-07-28 17:21:18 +02:00
parent 62a9a89ced
commit 3a1081ddee

View File

@ -27,7 +27,7 @@ CLICKHOUSE_PORT_HTTP = os.environ.get('CLICKHOUSE_PORT_HTTP', '8123')
##################################################################################### #####################################################################################
# IP-address of this host accessible from outside world. # IP-address of this host accessible from outside world.
HTTP_SERVER_HOST = subprocess.check_output(['hostname', '-i']).decode('utf-8').strip() HTTP_SERVER_HOST = subprocess.check_output(['hostname', '-i']).decode('utf-8').strip().split()[0]
HTTP_SERVER_PORT = get_local_port(HTTP_SERVER_HOST) HTTP_SERVER_PORT = get_local_port(HTTP_SERVER_HOST)
# IP address and port of the HTTP server started from this script. # IP address and port of the HTTP server started from this script.