Elasticsearch 2.3 start fail when set network.host to specific IP

elasticsearch version "number" : "2.3.5"

centos version 3.10.0-327.22.2.el7.x86_64

Install elasticsearch by yum with repo

[elasticsearch-2.x]
name=Elasticsearch repository for 2.x packages
baseurl=https://packages.elastic.co/elasticsearch/2.x/centos
gpgcheck=1
gpgkey=https://packages.elastic.co/GPG-KEY-elasticsearch
enabled=1
with /etc/elasticsearch.yml , I just modify one line
network.host: xx.xx.xx.xx
Elasticsearch start fail, view log do not show anything

But when let it commented as default, elasticsearch start ok.

With the default it listen on 127.0.0.1:9200 127.0.0.1:9300

I can not connect it from outside

I have try to do the same on centos 6 , everything ok

So Centos 7 is the problem ? How can i fix it

Check indentation.

Or paste here your raw Elasticsearch.yml file (formatted as code).

Thanks @dadoonet

As you say "Check indentation" save me a lot of time.

I have indentation in above line.

It work now @@.