I was trying to create a DoipClient using a client_ip_address != None, trying to bind the client's IP in the network.
The only response was ConnectionRefusedError, using a configured ethernet loop or a hardware server.
server = DoIPClient('192.48.48.58', 0xD, udp_port=13400, client_ip_address='192.48.48.13')
I have also tried using the same IP address for the ecu_ip and the client_ip. The same behavior was triggered.
Note: I'm using doipclient 1.0.6 and the firewall is deactivated.
ConnectionRefused generally means you got a RST from your ECU - there's nothing wrong with the client. Presumably, your configuration is wrong or your ECU requires additional preconditions.
I was trying to create a DoipClient using a client_ip_address != None, trying to bind the client's IP in the network. The only response was ConnectionRefusedError, using a configured ethernet loop or a hardware server.
server
= DoIPClient('192.48.48.58', 0xD, udp_port=13400, client_ip_address='192.48.48.13')I have also tried using the same IP address for the ecu_ip and the client_ip. The same behavior was triggered.
Note: I'm using doipclient 1.0.6 and the firewall is deactivated.