Wednesday, November 23, 2022
HomeBitcoinConnection to my full node by way of Python script out of...

Connection to my full node by way of Python script out of the blue fails

I run a mynode full node on a raspi for fairly a while now and was enjoying round with Python scripts to attach and ship txs. This labored nice till currently. Seems the connection set up course of fails as a result of my full node refuses the connection request I ship from my PC.
Apparently, he is not nice with me connecting by way of port 8333 which I all the time did previously. Why would the request be rejected? Each, full node and PC are in the identical VLAN.
Beneath a photograph hyperlink from wireshark to a connection request with port 8333 (fails) and a request with port 8332 (no points). (server responds to TCP handshake with a TCP reset (RST))

The related code block comes right down to:

    import socket
    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 
    HOST = "" 
    PORT = 8333  
    s.join((HOST, PORT))

The complete node is absolutely synced with loads of connections (Tor and Non-Tor).



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments