Comments (6)
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.
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.
did you open the urls as shown in my screenshots there? it shows that both insight and api are working.
from bitcore-node.
Yes,
http://localhost:49153/insight
and
http://localhost:49153/insight-api/tx/send
error message is "this page does not work, localhost did not send data"
from bitcore-node.
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:
This same port exposes the api:
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.
YES! It was 49157. Could see that one mapped to 3001.
Thanks a lot!
from bitcore-node.
Related Issues (5)
- Container does not start HOT 11
- Bitcoin Cash HOT 1
- livenet not working? HOT 2
- Cannot turn off rate limiter HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitcore-node.