Tcp port 9000 not listening

Hi, I’m trying to get Graylog online on ney install

OS = 24.04.2

I followed the manual below
Ubuntu Installation: Single Graylog Node

Now i have a running graylog-datanode, mongod, graylog-server when i check with systemctl status xxxxx

Problem is that i cna’t get port 9000 to work. the server.log is reporting
[MongoDBPreflightCheck] MongoDB is not available. Retry #56
2025-04-08T09:40:55.846Z INFO [cluster] Waiting for server to become available for operation with ID 3471. Remaining time: 29999 ms. Selector: ReadPreferenceServerSelector{readPreference=primary}, topology description: {type=UNKNOWN, servers=[{address=localhost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused}}].

output of netstat -tulp is below, so port 9000 is missing

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 _localdnsstub:domain 0.0.0.0:* LISTEN 606/systemd-resolve
tcp 0 0 _localdnsproxy:domain 0.0.0.0:* LISTEN 606/systemd-resolve
tcp 0 0 bugraylog:27017 0.0.0.0:* LISTEN 1003/mongod
tcp6 0 0 bugraylog:8999 [::]:* LISTEN 1906/java
tcp6 0 0 [::]:ssh [::]:* LISTEN 1/init
udp 0 0 _localdnsproxy:domain 0.0.0.0:* 606/systemd-resolve
udp 0 0 _localdnsstub:domain 0.0.0.0:* 606/systemd-resolve

Any help would be appriciated

Regards Andre

problem solved, one setting in server.conf was wrong and was directing to localhost

1 Like