# New Install on Centos7

**URL:** https://community.graylog.org/t/new-install-on-centos7/5855
**Category:** Graylog Central (peer support)
**Created:** [July 3, 2018, 11:09pm UTC](https://community.graylog.org/t/new-install-on-centos7/5855 "2018-07-03T23:09:13Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![mlneteng](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@mlneteng](https://community.graylog.org/u/mlneteng)
#### Post date: [July 3, 2018, 11:09pm UTC](https://community.graylog.org/t/new-install-on-centos7/5855/1 "2018-07-03T23:09:13Z")

</div>

I installed Centos7, did the step by step up I got down to where there is verbiage about:  
“To be able to connect to Graylog you should set rest\_listen\_uri and web\_listen\_uri to the public host name or a public IP address of the machine you can connect to. More information about these settings can be found in Configuring the web interface.”

I am assuming the above is for clients connecting for API. How do I access the Graylog to get to Dashboard or admin interface?

---

<div class="post-metadata">

### Author: ![mlneteng](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@mlneteng](https://community.graylog.org/u/mlneteng)
#### Post date: [July 4, 2018, 12:03am UTC](https://community.graylog.org/t/new-install-on-centos7/5855/2 "2018-07-04T00:03:26Z")

</div>

I ended up changing the server.conf  
added: web\_listen\_uri = [http://10.2.0.71:9000/](http://10.2.0.71:9000/)  
systemctl restart gray

Still no joy.

---

<div class="post-metadata">

### Author: ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)
#### Post date: [July 4, 2018, 6:34am UTC](https://community.graylog.org/t/new-install-on-centos7/5855/3 "2018-07-04T06:34:49Z")

</div>

> [@mlneteng](#):
>
> I am assuming the above is for clients connecting for API. How do I access the Graylog to get to Dashboard or admin interface?

It’s for both, the Graylog REST API and the Graylog web interface.

What’s the hostname or IP address you’re using to access the machine running Graylog and what’s the complete configuration you’re using?

---

<div class="post-metadata">

### Author: ![mlneteng](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@mlneteng](https://community.graylog.org/u/mlneteng)
#### Post date: [July 4, 2018, 5:47pm UTC](https://community.graylog.org/t/new-install-on-centos7/5855/4 "2018-07-04T17:47:06Z")

</div>

2 LINKS IN A POST LIMIT!? WHY? So frustrated as I had nice reply I had to chop.

good to hear about the interface.  
The only thing that has changed from default are:  
the 2 password lines.  
this:  
web\_listen\_uri = [cant add link due to lame graylog policy]

I suppose when I use the API function, Ill want to change this:  
rest\_listen\_uri = [LOOPBACK, cant add link due to lame Graylog policy]/api/

But like I said, I cant get to the portal interface to setup/administer.  
What am I doing wrong?

---

<div class="post-metadata">

### Author: ![mlneteng](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@mlneteng](https://community.graylog.org/u/mlneteng)
#### Post date: [July 4, 2018, 5:50pm UTC](https://community.graylog.org/t/new-install-on-centos7/5855/5 "2018-07-04T17:50:15Z")

</div>

May seem like a dumb question, but do I need to install nginx or apache?

---

<div class="post-metadata">

### Author: ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)
#### Post date: [July 5, 2018, 6:30am UTC](https://community.graylog.org/t/new-install-on-centos7/5855/6 "2018-07-05T06:30:48Z")

</div>

> [@mlneteng](#):
>
> 2 LINKS IN A POST LIMIT!? WHY? So frustrated as I had nice reply I had to chop.

If you’d properly format your post (e. g. use block quotes for your text snippets), that wouldn’t be a problem.  
See [FAQ - Graylog Community](https://community.graylog.org/faq#format-markdown) for more information.

---

<div class="post-metadata">

### Author: ![mlneteng](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@mlneteng](https://community.graylog.org/u/mlneteng)
#### Post date: [July 5, 2018, 4:48pm UTC](https://community.graylog.org/t/new-install-on-centos7/5855/7 "2018-07-05T16:48:21Z")

</div>

Jochen, thanks for link and can review later.  
I added tcp 9000 to FW and could get to the web interface. but got this error.  
I disabled SElinux and FW and still get the same message.  
I started the service, same deal.

Error message  
Request has been terminated  
Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.  
Original Request  
GET [http://127.0.0.1:9000/api/system/sessions](http://127.0.0.1:9000/api/system/sessions)  
Status code  
undefined  
Full error message  
Error: Request has been terminated  
Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.

---

<div class="post-metadata">

### Author: ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)
#### Post date: [July 6, 2018, 6:30am UTC](https://community.graylog.org/t/new-install-on-centos7/5855/8 "2018-07-06T06:30:37Z")

</div>

Did you read the message?

> Original Request  
> GET [http://127.0.0.1:9000/api/system/sessions](http://127.0.0.1:9000/api/system/sessions)

I assume that your `rest_listen_uri` is set to 127.0.0.1 which is the loopback device - and can’t be reached from any other device.

> <https://github.com/Graylog2/graylog2-server/blob/2.4/misc/graylog.conf#L79-L90>

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)
#### Post date: [July 20, 2018, 6:30am UTC](https://community.graylog.org/t/new-install-on-centos7/5855/9 "2018-07-20T06:30:43Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
