# Problem in testnet node installation

**URL:** <https://forum.thegraph.com/t/problem-in-testnet-node-installation/2022>\
**Category:** Questions\
**Tags:** indexer\
**Created:** [May 24, 2021, 11:33am UTC](https://forum.thegraph.com/t/problem-in-testnet-node-installation/2022 "2021-05-24T11:33:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![thiaoouba](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@thiaoouba](https://forum.thegraph.com/u/thiaoouba)\
**Post date:** [May 24, 2021, 11:33am UTC](https://forum.thegraph.com/t/problem-in-testnet-node-installation/2022/1 "2021-05-24T11:33:06Z")

</div>

Hi there, I tried to install a test node in my local pc, I have completed test GRT approve and stake on staking contract. Then I followed the instruction here to install indexer agent, service and node with docker:  
[https://github.com/StakeSquid/graphprotocol-testnet-docker](https://github.com/StakeSquid/graphprotocol-testnet-docker)

I went to this step : bash start  
All look good:

Successfully built 09b43e8017fa  
Successfully tagged graphprotocol-testnet-docker\_cli:latest  
Recreating cli … done  
Recreating alertmanager … done  
Recreating index-node-1 … done  
Recreating pushgateway … done  
Recreating nodeexporter … done  
Recreating cadvisor … done  
Recreating postgres2 … done  
Recreating query-node-0 … done  
Recreating index-node-0 … done  
Recreating prometheus … done  
Recreating nginx-ssl … done  
Recreating postgres … done  
Recreating nginx-proxy … done  
Recreating grafana … done  
Recreating vector-node … done  
Recreating indexer-agent … done  
Recreating indexer-service … done

However, after I tried this:

/shell cli  
graph indexer rules get all

It complains：  
[Network] request to [http://indexer-agent:8000/](http://indexer-agent:8000/) failed, reason: getaddrinfo ENOTFOUND indexer-agent

Any idea how to trouble shot this? and what’s going on?

Thanks.

---

<div class="post-metadata">

**Author:** ![cryptovestor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.thegraph.com/cryptovestor/32/29_2.png) [@cryptovestor](https://forum.thegraph.com/u/cryptovestor)\
**Post date:** [May 24, 2021, 3:54pm UTC](https://forum.thegraph.com/t/problem-in-testnet-node-installation/2022/2 "2021-05-24T15:54:01Z")

</div>

Check the containers are all running and not restarting on a crash with `docker container list`  
Check the logs for the indexer-agent container `docker logs --follow --tail 100 indexer-agent`

---

<div class="post-metadata">

**Author:** ![thiaoouba](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@thiaoouba](https://forum.thegraph.com/u/thiaoouba)\
**Post date:** [May 25, 2021, 10:40am UTC](https://forum.thegraph.com/t/problem-in-testnet-node-installation/2022/3 "2021-05-25T10:40:23Z")

</div>

Thanks so much. Now it is working.

BTW, how to make my test node visible in explorer?

---

<div class="post-metadata">

**Author:** ![thiaoouba](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@thiaoouba](https://forum.thegraph.com/u/thiaoouba)\
**Post date:** [May 25, 2021, 11:21am UTC](https://forum.thegraph.com/t/problem-in-testnet-node-installation/2022/4 "2021-05-25T11:21:43Z")

</div>

In addition, now the graph command is working.  
But I still have lots of questions. e.g.  
Grafana (visualize metrics) `http://<host-ip>:3000`  
But the link doesn’t work for me. So how to check metrics UI?

I found graph doc is still limited. E.g. how to set cost model, if there are some examples ?

---

<div class="post-metadata">

**Author:** ![javery](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@javery](https://forum.thegraph.com/u/javery)\
**Post date:** [November 2, 2021, 10:00am UTC](https://forum.thegraph.com/t/problem-in-testnet-node-installation/2022/5 "2021-11-02T10:00:33Z")

</div>

I have the same issue that it seems everything has come up but the :9090, :9091, :9093, and :3000 ports aren’t serving anything up on either the host IP or through the domain that was set up for the dashboard.mydomain.tld.

---

<div class="post-metadata">

**Author:** ![javery](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@javery](https://forum.thegraph.com/u/javery)\
**Post date:** [November 2, 2021, 10:02am UTC](https://forum.thegraph.com/t/problem-in-testnet-node-installation/2022/6 "2021-11-02T10:02:44Z")

</div>

> [@thiaoouba](#):
>
> [Network] request to [http://indexer-agent:8000/](http://indexer-agent:8000/) failed, reason: getaddrinfo ENOTFOUND indexer-agent

The way I was able to overcome this issue was to change the version of the indexer-agent that was running.

To do this you need to run

```auto
nano docker-compose.yml

```

and then update the following line to which ever indexer agent version you want to run (below I’ve updated this from `v0.18.1` to `v0.18.2`

```auto
image: ghcr.io/graphprotocol/indexer-agent:v0.18.2

```

Afterwards you need to rebuild the indexer-agent containter by running

```auto
bash start --force-recreate indexer-agent

```

With that run, I’m now seeing everything running perfectly on `docker ps` and the right response when running the `.shell/cli` + `graph indexer rules get all`
