Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to start monitoring HTTP server at 127.0.0.1:4224 #135

Open
cuongd86 opened this issue Dec 19, 2024 · 2 comments
Open

Failed to start monitoring HTTP server at 127.0.0.1:4224 #135

cuongd86 opened this issue Dec 19, 2024 · 2 comments

Comments

@cuongd86
Copy link

Hi there,

I've installed bitcoin core v27.0 and this electrs server. There is no error when I install them.

But I get this error when I start electrs server.
Failed to start monitoring HTTP server at 127.0.0.1:4224

I also install Prometheus and it works fine.

This is the command to run electrs:
/path/to/electrs/target/release/electrs --blocks-dir=/path/to/bitcoind/blocks --cookie=rpcuser:rpcpass --daemon-dir=/path/to/bitcoind --network=mainnet --db-dir=/path/to/esplora_db

Settings in bitcoin.conf file
listen=1 txindex=1 server=1 daemon=1 prune=0 dbcache=7500

What should I do to solve this error?

@philippem
Copy link
Collaborator

philippem commented Jan 8, 2025

do you have some other service on your host that is listening on port 4224? that is the port served by electr's prometheus exporter, and it may be conflicting. You can ask electrs to listen on a different port with this option:

--monitoring-addr :

@cuongd86
Copy link
Author

cuongd86 commented Jan 9, 2025

do you have some other service on your host that is listening on port 4224? that is the port served by electr's prometheus exporter, and it may be conflicting. You can ask electrs to listen on a different port with this option:

--monitoring-addr :

No, I don't have any service that is listenning on port 4224.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants