Wednesday, December 7, 2022
HomeBitcoinConnection to my full node by way of Python script all of...

Connection to my full node by way of Python script all of the sudden fails


I run a mynode full node on a raspi for fairly a while now and was taking part in round with Python scripts to attach and ship txs. This labored positive 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 positive with me connecting by way of port 8333 which I all the time did up to now. 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).

https://postimg.cc/gallery/7ZwCxDH (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 = "192.168.30.87" 
    PORT = 8333  
    s.join((HOST, PORT))

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

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments