Hi, I am using the docker-compose.yml details provided in the official Graylog documentation but I am receiving a " Connection was reset" error when I try access the web interface.
The only related topic I could find suggests that the GRAYLOG_HTTP_BIND_ADDRESS=0.0.0.0:9000 environment variable be added but adding this did not fix the problem.
There are no errors in the logs at all and if I try curl the http://127.0.0.1:9000 address from within the Graylog Docker container it is successful. So it appears that Graylog is running fine but is missing some vital mapping configuration that would allow me to access the web interface from the host.
I’ve moved your question to a place where it should receive expert responses. In the meanwhile, you may want to check out this issue and let me know if it’s helpful.
Thanks David. Unfortunately the link you provided doesn’t help me resolve the problem as it is the opposite of what I am experiencing i.e. for me connection between containers is fine but the service is not accessible from the host due to a “Connection was reset” error.
I have done further investigation and found that the docker-compose.yml file works fine in an Ubuntu 20.04 environment. So my problem seems to be particular to the Windows 10 environment I am trying to run it in.
I tried out your script and managed to narrow the problem down. Oddly enough the problem seems to be with Firefox, so http://localhost:9000 returns a “The connection was reset” on Firefox but on Chrome it works and correctly displays the Graylog webpage. I tried clearing all the cookies and site data on Firefox, but the problem persists.
There was also what I assume was a bit of a knowledge gap on my part in that I was trying http://127.0.0.1:9000 (which does not work anywhere) rather than using “localhost” which as I mentioned does work on Chrome