• About
  • FAQ
  • Earn Bitcoin while Surfing the net
  • Buy & Sell Crypto on Paxful
Newsletter
Approx Foundation
  • Home
    • Home – Layout 1
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Business
  • Guide
  • Contact Us
No Result
View All Result
  • Home
    • Home – Layout 1
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Business
  • Guide
  • Contact Us
No Result
View All Result
Approx Foundation
No Result
View All Result
Home Bitcoin

Mempool docker unable to connect to electrum server

Moussa by Moussa
January 23, 2026
in Bitcoin
0
How do Bitcoin mining pools typically handle payout frequency versus thresholds?
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter


I’m having a problem with “connecting” my mempool.space to electrumX server.
My bitcoin core is working fine, electrumX server is fine as well and up to chaintip. I’ve installed docker and docker-compose. Everything works fine, However when I try to docker-compose up it runs fine I guess, but at the end it pops this error and keeps repeating it:

docker-api-1 | Jan 6 11:38:12 [98] ERR: Electrum error: {“errno”:-111,”code”:”ECONNREFUSED”,”syscall”:”connect”,”address”:”0.0.0.0″,”port”:50001}
docker-api-1 | Jan 6 11:38:12 [98] INFO: Disconnected from Electrum Server at 0.0.0.0:50001

My docker-compose.yml file:

version: "3.7"

services:
  web:
    environment:
      FRONTEND_HTTP_PORT: "8080"
      BACKEND_MAINNET_HTTP_HOST: "api"
    image: mempool/frontend:latest
    user: "1000:1000"
    restart: always
    stop_grace_period: 1m
    command: "./wait-for db:3306 --timeout=720 -- nginx -g 'daemon off;'"
    ports:
      - 4080:8080
  api:
    environment:
      ELECTRUM_HOST: "0.0.0.0"
      ELECTRUM_PORT: "50001"
      ELECTRUM_TLS_ENABLED: "true"
      MEMPOOL_BACKEND: "electrum"
      CORE_RPC_HOST: "0.0.0.0"
      CORE_RPC_PORT: "8332"
      CORE_RPC_USERNAME: "####"
      CORE_RPC_PASSWORD: "####"
      DATABASE_ENABLED: "true"
      DATABASE_HOST: "db"
      DATABASE_DATABASE: "mempool"
      DATABASE_USERNAME: "mempool"
      DATABASE_PASSWORD: "mempool"
      STATISTICS_ENABLED: "true"
    image: mempool/backend:latest
    user: "1000:1000"
    restart: always
    stop_grace_period: 1m
    command: "./wait-for-it.sh db:3306 --timeout=720 --strict -- ./start.sh"
    volumes:
      - ./data:/backend/cache
  db:
    environment:
      MYSQL_DATABASE: "mempool"
      MYSQL_USER: "mempool"
      MYSQL_PASSWORD: "mempool"
      MYSQL_ROOT_PASSWORD: "admin"
    image: mariadb:10.5.8
    user: "1000:1000"
    restart: always
    stop_grace_period: 1m
    volumes:
      - ./mysql/data:/var/lib/mysql

My electrumX.conf file:

# default /etc/electrumx.conf for systemd

# REQUIRED
DB_DIRECTORY = /home/qbr1ck/electrumx_db
# Bitcoin Node RPC Credentials
DAEMON_URL = ####:####@localhost

COIN = Bitcoin
SERVICES = tcp://0.0.0.0:50001
PEER_DISCOVERY = off
COST_SOFT_LIMIT = 0
COST_HARD_LIMIT = 0

User and Password are hashed out in both files, however they are the same.

This is the full output after running docker up, might give some clues

[+] Running 3/3
⠿ Container docker-db-1 Running 0.0s
⠿ Container docker-web-1 Running 0.0s
⠿ Container docker-api-1 Recreated 60.4s
Attaching to docker-api-1, docker-db-1, docker-web-1
docker-api-1 | wait-for-it.sh: waiting 720 seconds for db:3306
docker-api-1 | wait-for-it.sh: db:3306 is available after 0 seconds
docker-db-1 | 2023-01-08 13:49:36 6 [Warning] Aborted connection 6 to db: ‘unconnected’ user: ‘unauthenticated’ host: ‘172.16.57.2’ (This connection closed normally without authentication)
docker-api-1 | Jan 8 13:49:37 [97] NOTICE: Starting Mempool Server… (a210a3f)
docker-api-1 | Jan 8 13:49:37 [97] INFO: Restoring mempool and blocks data from disk cache
docker-api-1 | Jan 8 13:49:37 [97] ERR: Electrum error: {“errno”:-111,”code”:”ECONNREFUSED”,”syscall”:”connect”,”address”:”127.0.0.1″,”port”:50001}
docker-api-1 | Jan 8 13:49:37 [97] ERR: Error connecting to Electrum Server at localhost:50001
docker-api-1 | Jan 8 13:49:37 [97] INFO: Disconnected from Electrum Server at localhost:50001
docker-api-1 | Jan 8 13:49:37 [97] INFO: Database connection established.
docker-api-1 | Jan 8 13:49:37 [97] INFO: Starting statistics service
docker-api-1 | Jan 8 13:49:37 [97] INFO: Starting currency rates service
docker-api-1 | Jan 8 13:49:37 [97] INFO: Currency rates service will be queried over clearnet using https://price.bisq.wiz.biz/getAllMarketPrices
docker-api-1 | Jan 8 13:49:37 [97] NOTICE: Mempool Server is running on port 8999
docker-api-1 | Jan 8 13:49:37 [97] INFO: Updating latest mining pools from https://raw.githubusercontent.com/mempool/mining-pools/master/pools.json over clearnet
docker-api-1 | Jan 8 13:49:42 [97] WARN: runMainLoop error: connect ECONNREFUSED 127.0.0.1:8332. Retrying in 10 sec.
docker-api-1 | Jan 8 13:49:47 [97] ERR: Electrum error: {“errno”:-111,”code”:”ECONNREFUSED”,”syscall”:”connect”,”address”:”127.0.0.1″,”port”:50001}
docker-api-1 | Jan 8 13:49:47 [97] ERR: Electrum error: {“errno”:-111,”code”:”ECONNREFUSED”,”syscall”:”connect”,”address”:”127.0.0.1″,”port”:50001}
docker-api-1 | Jan 8 13:49:47 [97] INFO: Disconnected from Electrum Server at localhost:50001
docker-api-1 | Jan 8 13:49:52 [97] WARN: runMainLoop error: connect ECONNREFUSED 127.0.0.1:8332. Retrying in 20 sec.
docker-api-1 | Jan 8 13:49:57 [97] ERR: Electrum error: {“errno”:-111,”code”:”ECONNREFUSED”,”syscall”:”connect”,”address”:”127.0.0.1″,”port”:50001}
docker-api-1 | Jan 8 13:49:57 [97] ERR: Electrum error: {“errno”:-111,”code”:”ECONNREFUSED”,”syscall”:”connect”,”address”:”127.0.0.1″,”port”:50001}
docker-api-1 | Jan 8 13:49:57 [97] INFO: Disconnected from Electrum Server at localhost:50001



Source link

Related articles

Congressman Keith Self Moves To Block US CBDC Via Defense Bill Amendment

BlackRock APAC Chief Nicholas Peach Says 1% Crypto Allocation In Asia Could Unlock $2 Trillion

February 12, 2026
Ripple Exec Warns Compromise Is Coming – What This Means For XRP

Ripple Exec Warns Compromise Is Coming – What This Means For XRP

February 12, 2026
Share76Tweet47

Related Posts

Congressman Keith Self Moves To Block US CBDC Via Defense Bill Amendment

BlackRock APAC Chief Nicholas Peach Says 1% Crypto Allocation In Asia Could Unlock $2 Trillion

by Moussa
February 12, 2026
0

Nicholas Peach, BlackRock’s head of APAC iShares, has taken to a public platform to say that a mere 1% shift...

Ripple Exec Warns Compromise Is Coming – What This Means For XRP

Ripple Exec Warns Compromise Is Coming – What This Means For XRP

by Moussa
February 12, 2026
0

Trusted Editorial content, reviewed by leading industry experts and seasoned editors. Ad Disclosure Ripple’s Chief Legal Officer (CLO), Stuart Alderoty,...

The 7 Most Bullish Takeaways

The 7 Most Bullish Takeaways

by Moussa
February 12, 2026
0

Ripple used XRP Community Day to tighten its message: XRP is not an accessory to the business, it’s the organizing...

MoonPay Launches Cross-Chain Crypto Deposits For Telegram

MoonPay Launches Cross-Chain Crypto Deposits For Telegram

by Moussa
February 12, 2026
0

MoonPay has launched a new product called MoonPay Deposits, in hopes of making wallet-to-wallet crypto transfers easier by automatically handling...

Moonpay Launches Moonpay Deposits, Integrates With Telegram Wallet

Moonpay Launches Moonpay Deposits, Integrates With Telegram Wallet

by Moussa
February 12, 2026
0

Moonpay introduces Moonpay Deposits to simplify wallet‑to‑wallet crypto transfers and enable funding of TON Wallet in Wallet in Telegram. Moonpay...

Load More

youssufi.com

sephina.com

[vc_row full_width="stretch_row" parallax="content-moving" vc_row_background="" background_repeat="no-repeat" background_position="center center" footer_scheme="dark" css=".vc_custom_1517813231908{padding-top: 60px !important;padding-bottom: 30px !important;background-color: #191818 !important;background-position: center;background-repeat: no-repeat !important;background-size: cover !important;}" footer_widget_title_color="#fcbf46" footer_button_bg="#fcb11e"][vc_column width="1/4"]

We bring you the latest in Crypto News

[/vc_column][vc_column width="1/4"][vc_wp_categories]
[/vc_column][vc_column width="1/4"][vc_wp_tagcloud taxonomy="post_tag"][/vc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nAtcHJpdmFjeS1maWVsZCUyMiUzRSUzQ2xhYmVsJTNFJTNDaW5wdXQlMjB0eXBlJTNEJTIyY2hlY2tib3glMjIlMjBuYW1lJTNEJTIybnklMjIlMjByZXF1aXJlZCUyMGNsYXNzJTNEJTIydG5wLXByaXZhY3klMjIlM0UlQzIlQTBCeSUyMGNvbnRpbnVpbmclMkMlMjB5b3UlMjBhY2NlcHQlMjB0aGUlMjBwcml2YWN5JTIwcG9saWN5JTNDJTJGbGFiZWwlM0UlM0MlMkZkaXYlM0UlM0NkaXYlMjBjbGFzcyUzRCUyMnRucC1maWVsZCUyMHRucC1maWVsZC1idXR0b24lMjIlM0UlM0NpbnB1dCUyMGNsYXNzJTNEJTIydG5wLXN1Ym1pdCUyMiUyMHR5cGUlM0QlMjJzdWJtaXQlMjIlMjB2YWx1ZSUzRCUyMlN1YnNjcmliZSUyMiUyMCUzRSUwQSUzQyUyRmRpdiUzRSUwQSUzQyUyRmZvcm0lM0UlMEElM0MlMkZkaXYlM0UlM0NiciUyRiUzRSUzQyUyRnAlM0U=[/vc_raw_html][/vc_column][/vc_row]
No Result
View All Result
  • Contact Us
  • Homepages
  • Business
  • Guide

© 2024 APPROX FOUNDATION - The Crypto Currency News