Problem chaning url graylog responds to on port 9000

Hi all,

I’m touching base with Graylog after years of absent. I know, what was I thinking :slight_smile:

I’m struggling with something that to me looks pretty basic.

I’m running my install on Ubuntu 25.04 with Graylog open for testing.

I have followed the guide from Graylog own site using the open install option.

All my Graylog service are running fine:

graylog-datanode.service - Graylog data node
Loaded: loaded (/usr/lib/systemd/system/graylog-datanode.service; enabled; preset: enabled)
Active: active (running) since Tue 2025-10-14 04:34:45 UTC; 1min 55s ago

graylog-server.service - Graylog server
Loaded: loaded (/usr/lib/systemd/system/graylog-server.service; enabled; preset: enabled)
Active: active (running) since Tue 2025-10-14 04:34:45 UTC; 2min 5s ago

mongod.service - MongoDB Database Server
Loaded: loaded (/usr/lib/systemd/system/mongod.service; enabled; preset: enabled)
Active: active (running) since Tue 2025-10-14 04:34:45 UTC; 2min 21s ago

My goal is to have graylog respond on say graylog.aaaa.bb

When my server got up and running after the install i could see that it was listning on port 9000 for 127.0.0.1.

I figured i needed to change this as to get it to bind to a hostname graylog.aaaa.bb

So as per the documentation i went to

sudo nano /etc/graylog/server/server.conf

and went to this part:

#HTTP bind address

#Default: 127.0.0.1:9000

#http_bind_address = 127.0.0.1:9000
#http_bind_address = [2001:db8::1]:9000
http_bind_address = 127.0.0.1:9000

And changed it to

http_bind_address = graylog.aaaa.bb

This didn’t seem to work.I could also see that graylog stopped listening on port 9000. I tried reboot even.

I tried changing it to ip like 10.0.0.1:9000 but that didn’t work either.

and now when i change it back to 127.0.0.1:9000 it won’t listen on port 9000.

In the documentation it also says you need to set bindipall in the mondoDB conf file which i have to graylog.aaaa.bb and i have edited the hosts file so the server can resolve itself to that name. Also i do see lots of open connection on the server on port 27017.

The documentation also mentioned that the datanode needs a mongod uri url. For which i also used mongod://graylog.aaaa.bb:27017/graylog

I suspect this works and that the connection i see to port 27017 is perhaps the datanode connecting to mongod and also perhaps mongod just listing on 27017.

Basically what i get from the documentation is that i need to change http_bind_address in the graylog conf file in order to change what url graylog is listening on. And it doesn’t seem to work.

I’m so CLOSE!!! i can feel it.. it just need this one hint to get passed this but i’m SO stumped. Please help!

in the mean time i found my issue. in the graylog conf file it also define the mongodb which i changed to graylog.aaaa.bb and this made everything work it seems

2 Likes