Error - the server returned: 404 - cannot POST http://X.x.x.x:9000/system/sessions (404)

I’ve started to work with graylog. and wants it to setup for my company . i have followed graylog centos 2.3 document seems all fine but at login time. i’m getting blocked with the error

(Error - the server returned: 404 - cannot POST (404))
Please help me to short this out.

Hey @kunal2791,

could you please post your configuration and the Graylog log-files? The level of information you gave is not helpful, if you want help :see_no_evil:

Greetings - Phil

1 Like

Hi Phil ,
Is there any way to upload .txt files. if please guide me.

and this is error screen shot


My unscientific guess is that your web_endpoint_uri is wrong and that it doesn’t contain the public link to the Graylog REST API.

Please refer to for details.

You can use,, or to upload text files and link them here.

here is a link for server.conf file

for lo file

Your configuration file contains a lot of strange settings which are definitely not for Graylog.

I’d recommend taking a look at your web_endpoint_uri and generally to start with the default configuration file and only change the things you need to change (and know what they’re doing):

I’ve used the same conf file that you have attached and the only thing i changed is.
rest_listen_uri = http;//localhost:9000/api/ (127.0…0.1)
web_endpoint_uri = http;//publicip:9000/ (My Public IP=
rest_transport_uri = http;//privateip:9000/api/ (My Private IP=
web_listen_uri = http:;//privateip:9000/ (My Private IP=
http and ip is separated by : not ; .

rest added secret password and root password.

but the error is still same. please suggest now.

The Graylog web interface (i. e. your web browser) must be able to communicate with the Graylog REST API directly.
That’s not possible if you bind it to localhost (

Please refer to for details.

Hi Jochen,
i have changed the localhost address to my private ip. as pubic ip is not working.
please suggest if i’m working.

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