Can not start Kibana if the default port for elasticsearch is changed

Within the docker container the port is 9200, kibana and apm-server needs to point to 9200.