Hi Alejandro, 127.0.0.1 is the so-called loopback address which loops back (ha!) to the local machine and which is not accessible from outside of that system.
You need to set rest_listen_uri and web_listen_uri to a publicly accessible IP address, or http://0.0.0.0:12900 and http://0.0.0.0:9000 respectively to bind to all network interfaces. Also see http://docs.graylog.org/en/2.0/pages/configuration/web_interface.html for a detailed documentation about configuring the Graylog web interface. Cheers, Jochen On Thursday, 28 July 2016 19:34:58 UTC+2, Alejandro Cabrera Obed wrote: > > People, I've installed on my Debian 8 box: Graylog 2.0, Elasticsearch > 2.3.4, Oracle Java Depelopment Kit (JDK) 8 and MongoDB 2.4.10. > > I've configured the following files: > > /etc/elasticsearch/elasticsearch.yml: > > cluster.name: graylog > > /etc/graylog/server/server.conf: > > password_secret = > 4LD9bet1tMDm8Rn6eagdMpPG4JBiONmKTehj4uOFjqXNzi0cffI5QSb4su87ViK4Lbtv9XCMvEKo3ns7Wp5xcEUB5OfcAcbY > root_password_sha2 = > 9169a08e89954bd9cb083e7f5182e015ede2cac0ef54417c624906e70c9d3857 > root_timezone = America/Argentina/Buenos_Aires > rest_listen_uri = http://127.0.0.1:12900/ > web_listen_uri = http://127.0.0.1:9000/ > mongodb_uri = mongodb://localhost/graylog > mongodb_uri = mongodb://graylog:JnJnjNj@localhost:27017/graylog > > /etc/graylog/server/node-id: > > MyCompany > > After that I start all the services, and view the server.log file for > Graylog: > > 2016-07-28T14:17:51.204-03:00 INFO [NetworkListener] Started listener > bound to [127.0.0.1:9000] > 2016-07-28T14:17:51.207-03:00 INFO [HttpServer] [HttpServer] Started. > 2016-07-28T14:17:51.214-03:00 INFO [WebInterfaceService] Started Web > Interface at *<http://127.0.0.1:9000/ <http://127.0.0.1:9000/>>* > 2016-07-28T14:17:58.953-03:00 INFO [NetworkListener] Started listener > bound to [127.0.0.1:12900] > 2016-07-28T14:17:58.953-03:00 INFO [HttpServer] [HttpServer-1] Started. > 2016-07-28T14:17:58.954-03:00 INFO [RestApiService] Started REST API at > *<http://127.0.0.1:12900/ > <http://127.0.0.1:12900/>>* > 2016-07-28T14:17:58.957-03:00 INFO [ServerBootstrap] Services started, > startup times in ms: {OutputSetupService [RUNNING]=76, > MetricsReporterService [RUNNING]=76, KafkaJournal [RUNNING]=86, > BufferSynchronizerService [RUNNING]=110, InputSetupService [RUNNING]=135, > JournalReader [RUNNING]=142, PeriodicalsService [RUNNING]=383, > IndexerSetupService [RUNNING]=4136, WebInterfaceService [RUNNING]=11116, > RestApiService [RUNNING]=18874} > 2016-07-28T14:17:58.957-03:00 INFO [ServiceManagerListener] Services are > healthy > 2016-07-28T14:17:58.961-03:00 INFO [InputSetupService] Triggering > launching persisted inputs, node transitioned from Uninitialized [LB:DEAD] > to Running [LB:ALIVE] > 2016-07-28T14:17:58.994-03:00 INFO [ServerBootstrap] *Graylog server up > and running.* > > After that I try to access by http://172.21.21.10:9000/ but I fail, the > service runs on 127.0.0.1 as I can see above. > > After that a modify in server.conf: > > web_listen_uri = http://127.0.0.1:9000/ to web_listen_uri = > http://172.21.21.10:9000/ > > but I fail again. > > What can be the problem??? Please I need your help in order to access to > the web interface, I come from Graylog 1.3 and there it was everything OK. > > Thanks in advance. > > Alejandro > > > -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/5f06e06a-c662-4439-abe3-9da79ed09f10%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
