Hi Jochen,

yes it can; the name resolves correctly everywhere.

Although I could use IP addresses instead, doesn't that remove the 
possibility of load balancing the web interface and also the endpoint for 
collectors?  The end goal here was to have multiple graylog-server nodes to 
allow for load balancing.

Thanks,

Adam

On Thursday, September 29, 2016 at 2:06:26 PM UTC+1, Jochen Schalanda wrote:
>
> Hi Adam,
>
> can log-prd-gray01.domain.com be resolved on all relevant systems (your 
> client running the web browser and all Graylog nodes) and does it resolve 
> to the same IP address on all machines?
>
> I would recommend to avoid using host names in the rest_listen_uri and 
> web_listen_uri settings completely.
>
> Cheers,
> Jochen
>
> On Thursday, 29 September 2016 14:38:26 UTC+2, Adam wrote:
>>
>> Hi,
>>
>> I'm having an issue connecting to the web interface of Graylog using a 
>> DNS alias.
>>
>> I can connect via IP using the following configuration:
>>
>> rest_listen_uri = http://192.168.100.163:9000/api/
>> web_listen_uri = http://192.168.100.163:9000/
>>
>> Connecting to http://192.168.100.163:9000 works fine.
>>
>> If I try and use a DNS alias:
>>
>> rest_listen_uri = http://log-prd-gray01.domain.com:9000/api/
>> web_listen_uri = http://log-prd-gray01.domain.com:9000/
>>
>> I'm unable to connect.  Chrome gives me a ERR_CONNECTION_REFUSED error 
>> but nothing else of use.
>>
>> Interestingly I can see that it is working ok from the server itself as curl 
>> http://log-prd-gray01.domain.com:9000 works as does the API URL.
>>
>> Attempting to curl from one of the Elasticsearch nodes also gives me a 
>> connection refused message.
>>
>> Name resolution is working as expected and I can ping the graylog server 
>> node ok from any device on the network.
>>
>> Is anyone able to help?
>>
>> Thanks,
>>
>> Adam
>>
>

-- 
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/8400e8ba-d378-4727-a358-d04d7e1a1a1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to