Hello IOTA Forum

Try to run my own IRI node (docker)


By yehia67 - 10 Sep 2019

Hello everyone,
I am trying to make my own node and I follow this tutorial: https://docs.iota.org/docs/getting-started/0.1/tutorials/run-your-own-iri-node
First I installed docker image:   
docker pull iotaledger/iri:latest

Then I run the container:
  sudo  docker run --name iri iotaledger/iri:latest --remote true  -p 14265

Then To get the node info I used curl: 
curl http://localhost:14265 -X POST -H 'Content-Type: application/json' -H 'X-IOTA-API-Version: 1' -d '{"command": "getNodeInfo"}'

But It return to me  this error

yehia@yehia-Iaptop:~$ sudo  curl http://localhost:14265 -X POST -H 'Content-Type: application/json' -H 'X-IOTA-API-Version: 1' -d '{"command": "getNodeInfo"}'
curl: (7) Failed to connect to localhost port 14265: Connection refused

If anyone have an idea how to solve this problem because it cost an entire day and I didn't solve it yet.
Thanks in advance,