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

**URL:** <https://forum.scylladb.com/t/setting-up-scylladb-with-two-different-ips-and-two-different-nics-for-cql-and-intra-node-calls/2990>\
**Category:** ScyllaDB\
**Tags:** administration, configuration\
**Created:** [October 3, 2024, 9:03am UTC](https://forum.scylladb.com/t/setting-up-scylladb-with-two-different-ips-and-two-different-nics-for-cql-and-intra-node-calls/2990 "2024-10-03T09:03:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrSipping](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/mrsipping/32/257_2.png) [@MrSipping](https://forum.scylladb.com/u/MrSipping)\
**Post date:** [October 3, 2024, 9:03am UTC](https://forum.scylladb.com/t/setting-up-scylladb-with-two-different-ips-and-two-different-nics-for-cql-and-intra-node-calls/2990/1 "2024-10-03T09:03:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![felipemendes](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/felipemendes/32/11_2.png) [@felipemendes](https://forum.scylladb.com/u/felipemendes)\
**Post date:** [October 4, 2024, 8:22pm UTC](https://forum.scylladb.com/t/setting-up-scylladb-with-two-different-ips-and-two-different-nics-for-cql-and-intra-node-calls/2990/2 "2024-10-04T20:22:01Z")

</div>

> 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](https://opensource.docs.scylladb.com/stable/operating-scylla/admin.html) and you are sure you don’t need something, you may try setting it to 0. Commenting out will just leave their defaults.
