<p>Apparently the testnet does not work for cardano-node 1.35.3. I have to run cardano-node 1.35.2 to use the testnet</p>

CC BY-SA 4.0
2022-10-03T02:47:03.100Z
2022-10-03T02:47:03.100Z
D0n
<p><code>apt install netbase</code> in your container. it worked out for me.</p>

CC BY-SA 4.0
2023-03-19T04:37:49.837Z
This worked for me. I'm running cardano-node in a base debian container image.
nalyd88
CC BY-SA 4.0
2022-10-17T18:28:20.363Z
2022-10-17T18:28:20.363Z
PITON
<p>These logs look like an issue with you config.jason file in your public root section you are calling a service name that it can not find. Would need to see your config.jason file to comment more</p>

CC BY-SA 4.0
2022-10-01T11:27:11.807Z
https://book.world.dev.cardano.org/environments/preview/config.json
D0n
CC BY-SA 4.0
2022-10-02T16:46:58.103Z
Sorry not config.json, topology.json. the config.json is fine
Jon_IRF
CC BY-SA 4.0
2022-09-30T01:52:56.950Z
2022-09-30T01:52:56.950Z
Jon_IRF
<p>I had a similar issue. Have a look at the following answer, changing the host-addr worked in my case:</p>
<p><a href="https://cardano.stackexchange.com/a/9203/7074">https://cardano.stackexchange.com/a/9203/7074</a></p>

CC BY-SA 4.0
2022-10-07T15:26:52.480Z
2022-10-07T15:26:52.480Z
samuelpullely
<p>I am running cardano-node 1.35.3 on Ubuntu 22.04 Docker container. I am attempting to run the node on the preview testnet. Below is the following error I get when running cardano-node.</p>
<p>Here is the Error that I am seeing</p>
<pre><code>[22cbd0dd:cardano.node.PeerSelection:Error:52] [2022-09-29 04:11:19.93 UTC] TracePublicRootsFailure Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [AI_ADDRCONFIG,AI_NUMERICHOST,AI_PASSIVE], addrFamily = AF_UNSPEC, addrSocketType = Datagram, addrProtocol = 0, addrAddress = 0.0.0.0:0, addrCanonName = Nothing}, host name: Just &quot;192.168.65.5&quot;, service name: Just &quot;domain&quot;): does not exist (Unrecognized service) (-5) 32s
[22cbd0dd:cardano.node.PeerSelection:Info:52] [2022-09-29 04:11:51.89 UTC] TraceGovernorWakeup
[22cbd0dd:cardano.node.PeerSelection:Info:52] [2022-09-29 04:11:51.89 UTC] TracePublicRootsRequest 100 0
[22cbd0dd:cardano.node.LedgerPeers:Info:50] [2022-09-29 04:11:51.89 UTC] [String &quot;FetchingNewLedgerState&quot;,Number 0.0]
[22cbd0dd:cardano.node.LedgerPeers:Info:50] [2022-09-29 04:11:51.89 UTC] [String &quot;FallingBackToBootstrapPeers&quot;]
[22cbd0dd:cardano.node.LedgerPeers:Info:50] [2022-09-29 04:11:51.89 UTC] [String &quot;UseLedgerAfter&quot;,Number 322000.0]
[22cbd0dd:cardano.node.PublicRootPeers:Info:66] [2022-09-29 04:11:51.89 UTC] TracePublicRootRelayAccessPoint [RelayAccessDomain &quot;preview-node.world.dev.cardano.org&quot; 30002]
</code></pre>
<p>Here is my cardano-node run command
<code>cardano-node run --topology topology.json --database-path db --socket-path db/node.socket --host-addr 127.0.0.1 --port 3001 --config config.json</code></p>

<cardano-node><testnet>
Cardano-Node Preview Testnet PeerSelection Error
# Cardano-Node Preview Testnet PeerSelection Error

(Asked by: username_0 on 2022-09-29)

I am running cardano-node 1.35.3 on Ubuntu 22.04 Docker container. I am attempting to run the node on the preview testnet. Below is the following error I get when running cardano-node.
Here is the Error that I am seeing
[22cbd0dd:cardano.node.PeerSelection:Error:52] [2022-09-29 04:11:19.93 UTC] TracePublicRootsFailure Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [AI_ADDRCONFIG,AI_NUMERICHOST,AI_PASSIVE], addrFamily = AF_UNSPEC, addrSocketType = Datagram, addrProtocol = 0, addrAddress = 0.0.0.0:0, addrCanonName = Nothing}, host name: Just "192.168.65.5", service name: Just "domain"): does not exist (Unrecognized service) (-5) 32s
[22cbd0dd:cardano.node.PeerSelection:Info:52] [2022-09-29 04:11:51.89 UTC] TraceGovernorWakeup
[22cbd0dd:cardano.node.PeerSelection:Info:52] [2022-09-29 04:11:51.89 UTC] TracePublicRootsRequest 100 0
[22cbd0dd:cardano.node.LedgerPeers:Info:50] [2022-09-29 04:11:51.89 UTC] [String "FetchingNewLedgerState",Number 0.0]
[22cbd0dd:cardano.node.LedgerPeers:Info:50] [2022-09-29 04:11:51.89 UTC] [String "FallingBackToBootstrapPeers"]
[22cbd0dd:cardano.node.LedgerPeers:Info:50] [2022-09-29 04:11:51.89 UTC] [String "UseLedgerAfter",Number 322000.0]
[22cbd0dd:cardano.node.PublicRootPeers:Info:66] [2022-09-29 04:11:51.89 UTC] TracePublicRootRelayAccessPoint [RelayAccessDomain "preview-node.world.dev.cardano.org" 30002]

Here is my cardano-node run command
cardano-node run --topology topology.json --database-path db --socket-path db/node.socket --host-addr 127.0.0.1 --port 3001 --config config.json

**Tags:** cardano-node, testnet

---

## 4 answers

### Answer by username_0 on 2022-10-03. Score: 0 | Accepted answer

Apparently the testnet does not work for cardano-node 1.35.3. I have to run cardano-node 1.35.2 to use the testnet


---

### Answer by username_1 on 2022-10-17. Score: 1

`apt install netbase` in your container. it worked out for me.

> **Comments:**
> **username_2**: This worked for me. I'm running cardano-node in a base debian container image.  

---

### Answer by username_3 on 2022-09-30. Score: 0

These logs look like an issue with you config.jason file in your public root section you are calling a service name that it can not find. Would need to see your config.jason file to comment more

> **Comments:**
> **username_0**: https://book.world.dev.cardano.org/environments/preview/config.json  
> **username_3**: Sorry not config.json, topology.json. the config.json is fine  

---

### Answer by username_4 on 2022-10-07. Score: 0

I had a similar issue. Have a look at the following answer, changing the host-addr worked in my case:

<https://cardano.stackexchange.com/a/9203/7074>


---

