Setting up Scylladb with two different IPs and two different NICs for CQL and intra-node calls

I have a server with two nics and two IPs and have configured it as per the documentation.

After editing the scylla.yaml file and reviving scylla-server, doing a netstat -antp I have the following:

tcp IP INTERNO:7000
tcp IP INTERNO:9180
tcp 127.0.0.1:10000

Now I ask myself these two things, why don’t I see port 9042 for making calls from outside? What am I doing wrong in the configuration? How can I configure it correctly?

The other question is how can I close the ports I’m not using? I tried commenting them out in the YAML file but it doesn’t seem to be working.

I am creating scylladb with two nodes and Open-Source.

I thank those who can help me understand where the problem lies

Now I ask myself these two things, why don’t I see port 9042 for making calls from outside? What am I doing wrong in the configuration? How can I configure it correctly?

Hard to say without seeing the actual YAML file and a trimmed down netstat output. Look into rpc options. If using IPv6, also state it accordingly.

The other question is how can I close the ports I’m not using? I tried commenting them out in the YAML file but it doesn’t seem to be working.

What do you mean by ports you ain’t using? Considering you read the Administration Guide | ScyllaDB Docs and you are sure you don’t need something, you may try setting it to 0. Commenting out will just leave their defaults.

1 Like