Giter VIP home page Giter VIP logo

Comments (6)

jeshan avatar jeshan commented on August 17, 2024

A port will be assigned for you by default. I explained all this in a previous comment:
#1 (comment)

Let me know.

from bitcore-node.

HasseM avatar HasseM commented on August 17, 2024

Thanks. I tried using:
docker run --rm -P -v /root/bitcoin-node --name testnet jeshan/bitcore-node
To run the image and open localhost:49153 in the browser but I keep getting ERR_EMPTY_RESPONSE (any other port number gets me a ERR_CONNECTION_REFUSED). I'n running docker in Win 10 with WSL2. But that should not make a difference I think.

Am I right that I should see a webpage, even if it is still syncing the blockchain? Starting web, Insight UI & API messages were without error. So I am expecting that the webserver should be up and running pretty fast after starting the container.

from bitcore-node.

jeshan avatar jeshan commented on August 17, 2024

did you open the urls as shown in my screenshots there? it shows that both insight and api are working.

from bitcore-node.

HasseM avatar HasseM commented on August 17, 2024

Yes,
http://localhost:49153/insight
and
http://localhost:49153/insight-api/tx/send

image

error message is "this page does not work, localhost did not send data"

also no strange things here:
image

from bitcore-node.

jeshan avatar jeshan commented on August 17, 2024

There are different ports at play here. Look closely at the example docker run just gave me:

9cee5f5154e9        jeshan/bitcore-node   "/usr/bin/dumb-init …"   9 seconds ago       Up 6 seconds (health: starting)   0.0.0.0:32772->3001/tcp, 0.0.0.0:32771->3232/tcp, 0.0.0.0:32770->6667/tcp, 0.0.0.0:32769->8333/tcp, 0.0.0.0:32768->18333/tcp   testnet

The one that is mapped to port 3001 (here 32772 on the host) is the correct one to access the insight UI:
image

This same port exposes the api:
image

I'll let you find out what the other ports are for. You'll have to manage now. I haven't worked on bitcore for years and can hardly remember these details.

from bitcore-node.

HasseM avatar HasseM commented on August 17, 2024

YES! It was 49157. Could see that one mapped to 3001.
Thanks a lot!

image

from bitcore-node.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.