Closed HeenaBansal2009 closed 2 years ago
When I am starting my server with --tcp-port =0 and connect clickhouse-client with port , I can connect clickhouse-client. ./clickhouse-client -u default --host 9.30.160.51 --port 33479
SERVER STARTED : ./clickhouse-server --config-file=../../programs/server/config.xml -- --listen_host=9.30.160.51 --tcp_port=0
Hi @HeenaBansal2009, this has nothing to do with JDBC bridge, right?
clickhouse-client
uses native/tcp protocol to connect to ClickHouse, while port 8123 by default is for http. You may want to check server configuration as well to ensure you connected to correct port.
Right,I opened the issue in wrong repo. Can be closed.
I started my CH server with --listen_host=.
I see that my server is listening on native protocol at :8123 through net stat output, , but i am unable to connect to clickhouse-client at :8123
./clickhouse-server --config-file=../../programs/server/config.xml -- --listen_host=9.30.160.51
netstat -tulnp | grep LISTEN output :
./clickhouse-client connection is hung :
Server logs