ZMQ problem: 'ss -ltnp | grep 28332' and 'ss -ltnp | grep 28333' does not give me an answer (i need it for LND) #33710

issue kosuodhmwa opened this issue on October 27, 2025
  1. kosuodhmwa commented at 1:40 AM on October 27, 2025: none

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    Compile process:

    [GIT stuff here]
    apt install -y cmake
    cd ~/bitcoin
    mkdir build
    cd build
    apt install -y capnproto libcapnp-dev
    cmake .. -DBUILD_BITCOIN_WALLET=ON -DENABLE_ZMQ=ON -DBUILD_TESTING=OFF -DBUILD_BENCH=OFF
    make -j$(nproc)
    

    start process:

    root@debian12-btc-node:~# cat ./start-btcd.sh
    set -x;
    clear;
    cd ~/;
    #cd bitcoin/src;
    cd bitcoin;
    cd build;
    cd bin;
    ./bitcoind | grep -v -e 'Socks5';
    #./bitcoind -daemon;
    exit 0;
    

    Expected behaviour

    But still no answer on TCP ports:

    root@debian12-btc-node:~# ss -ltnp | grep 28332
    root@debian12-btc-node:~# ss -ltnp | grep 28333
    

    Steps to reproduce

    As above

    Relevant log output

    How did you obtain Bitcoin Core

    Compiled from source

    What version of Bitcoin Core are you using?

    Current master

    Operating system and version

    Debian 12.x x64

    Machine specifications

    Oracle VirtualBox VM

  2. kosuodhmwa renamed this:
    'ss -ltnp | grep 28332' and 'ss -ltnp | grep 28333' does not work (i need it for LND)
    ZMQ problem: 'ss -ltnp | grep 28332' and 'ss -ltnp | grep 28333' does not give me an answer (i need it for LND)
    on Oct 27, 2025
  3. kosuodhmwa commented at 1:44 AM on October 27, 2025: none

    additional info: bitcoin.conf:

    whitelist=127.0.0.1
    
    txindex = 1
    
    proxy = 127.0.0.1:9050
    
    listen = 1
    
    bind = 0.0.0.0
    
    server = 1
    
    rpcbind=127.0.0.1
    rpcbind=192.168.1.174
    
    rpcallowip=127.0.0.1
    rpcallowip=192.168.0.0/16
    
    rpcport = 8332
    
    rpcuser = MY_USER 
    rpcpassword = MY_PASS 
    
    wallet = mywallet
    #wallet = cormorant
    
    disablewallet=0
    
    zmqpubrawblock=tcp://127.0.0.1:28332
    zmqpubrawtx=tcp://127.0.0.1:28333
    
  4. kosuodhmwa closed this on Oct 27, 2025

  5. kosuodhmwa commented at 1:44 AM on October 27, 2025: none

    So that entries exist... !?

    zmqpubrawblock=tcp://127.0.0.1:28332 zmqpubrawtx=tcp://127.0.0.1:28333

  6. kosuodhmwa commented at 8:05 PM on October 27, 2025: none

    cmake script content:

    root@debian12-btc-node:~# cat ./cmake-btcd.sh
    cd ~/bitcoin/build;
    
    # rm -rf *;
    
    cmake .. \
      -DBUILD_BITCOIN_WALLET=ON \
      -DENABLE_ZMQ=ON \
      -DZeroMQ_INCLUDE_DIR=/usr/include \
      -DZeroMQ_LIBRARY=/usr/lib/x86_64-linux-gnu/libzmq.so \
      -DBUILD_TESTING=OFF \
      -DBUILD_BENCH=OFF \
      -DCMAKE_VERBOSE_MAKEFILE=ON
    
    exit 0;
    root@debian12-btc-node:~#
    

    When i execute it:

    root@debian12-btc-node:~# ./cmake-btcd.sh
    -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE dot)
    
    Configuring secp256k1 subtree...
    -- Could NOT find Valgrind (missing: Valgrind_INCLUDE_DIR Valgrind_WORKS)
    
    
    secp256k1 configure summary
    ===========================
    Build artifacts:
      library type ........................ Static
    Optional modules:
      ECDH ................................ OFF
      ECDSA pubkey recovery ............... ON
      extrakeys ........................... ON
      schnorrsig .......................... ON
      musig ............................... ON
      ElligatorSwift ...................... ON
    Parameters:
      ecmult window size .................. 15
      ecmult gen table size ............... 86 KiB
    Optional features:
      assembly ............................ x86_64
      external callbacks .................. OFF
    Optional binaries:
      benchmark ........................... OFF
      noverify_tests ...................... ON
      tests ............................... ON
      exhaustive tests .................... ON
      ctime_tests ......................... OFF
      examples ............................ OFF
    
    Cross compiling ....................... FALSE
    API visibility attributes ............. ON
    Valgrind .............................. OFF
    Preprocessor defined macros ........... ECMULT_WINDOW_SIZE=15 COMB_BLOCKS=43 COMB_TEETH=6 USE_ASM_X86_64=1
    C compiler ............................ GNU 12.2.0, /usr/bin/cc
    CFLAGS ................................
    Compile options ....................... -Wall -pedantic -Wcast-align -Wcast-align=strict -Wextra -Wnested-externs -Wno-long-long -Wno-overlength-strings -Wno-unused-function -Wshadow -Wstrict-prototypes -Wundef
    Build type:
     - CMAKE_BUILD_TYPE ................... RelWithDebInfo
     - CFLAGS ............................. -O2 -g
     - LDFLAGS for executables ............
     - LDFLAGS for shared libraries .......
    
    
    
    Configure summary
    =================
    Executables:
      bitcoin ............................. ON
      bitcoind ............................ ON
      bitcoin-node (multiprocess) ......... ON
      bitcoin-qt (GUI) .................... OFF
      bitcoin-gui (GUI, multiprocess) ..... OFF
      bitcoin-cli ......................... ON
      bitcoin-tx .......................... ON
      bitcoin-util ........................ ON
      bitcoin-wallet ...................... ON
      bitcoin-chainstate (experimental) ... OFF
      libbitcoinkernel (experimental) ..... OFF
    Optional features:
      wallet support ...................... ON
      external signer ..................... ON
      ZeroMQ .............................. OFF
      IPC ................................. ON
      USDT tracing ........................ OFF
      QR code (GUI) ....................... OFF
      DBus (GUI) .......................... OFF
    Tests:
      test_bitcoin ........................ ON
      test_bitcoin-qt ..................... OFF
      bench_bitcoin ....................... OFF
      fuzz binary ......................... OFF
    
    Cross compiling ....................... FALSE
    C++ compiler .......................... GNU 12.2.0, /usr/bin/c++
    CMAKE_BUILD_TYPE ...................... RelWithDebInfo
    Preprocessor defined macros ...........
    C++ compiler flags .................... -O2 -g -std=c++20 -fPIC -fno-extended-identifiers -fdebug-prefix-map=/root/bitcoin/src=. -fmacro-prefix-map=/root/bitcoin/src=. -fstack-reuse=none -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -Wall -Wextra -Wformat -Wformat-security -Wvla -Wredundant-decls -Wdate-time -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wbidi-chars=any -Wundef -Wno-unused-parameter
    Linker flags .......................... -O2 -g -fstack-reuse=none -fstack-protector-all -fcf-protection=full -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -Wl,-z,separate-code -fPIE -pie
    
    NOTE: The summary above may not exactly match the final applied build flags
          if any additional CMAKE_* or environment variables have been modified.
          To see the exact flags applied, build with the --verbose option.
    
    Treat compiler warnings as errors ..... OFF
    Use ccache for compiling .............. OFF
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /root/bitcoin/build
    root@debian12-btc-node:~#
    
    

    ...so you can clearly see: 'ZeroMQ .............................. OFF'

  7. kosuodhmwa reopened this on Oct 27, 2025

  8. hebasto commented at 10:09 PM on October 27, 2025: member

    Compile process:

    [GIT stuff here]
    apt install -y cmake
    cd ~/bitcoin
    mkdir build
    cd build
    apt install -y capnproto libcapnp-dev
    cmake .. -DBUILD_BITCOIN_WALLET=ON -DENABLE_ZMQ=ON -DBUILD_TESTING=OFF -DBUILD_BENCH=OFF
    make -j$(nproc)
    

    s/-DENABLE_ZMQ=ON/-DWITH_ZMQ=ON/

    For more details, please refer to https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md.

  9. hebasto added the label Questions and Help on Oct 27, 2025
  10. kosuodhmwa commented at 10:44 PM on October 27, 2025: none

    thank you very much! :-)

  11. kosuodhmwa closed this on Oct 27, 2025


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-26 06:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me