The clickhouse-query doesn't work with default options due to IPV6

Description

As you can see with the test below, clickhouse-client doesn't work by default. If you check the error message, it's trying to connect to IPv6(::1)

With netstat installed(yum -y install net-tools), you can see that clickhouse-server listens to IPv4:

As a workaround, you'll need to remove localhost from the IPv6 or perhaps rename it to ip6-localhost entry in /etc/hosts:

How to test

None

How to document

None

Activity

Show:

Roma Novikov 
October 21, 2019 at 10:24 AM

can you add more description. STR and others. Because it'a hard to understand the problem for now (

Details

Assignee

Reporter

Priority

Needs QA

Needs Doc

Affects versions

Created October 20, 2019 at 2:52 AM
Updated March 27, 2024 at 2:59 PM