I have been looking at other problems, and this message always misleads me. I immediately think that it's been refused becaused of e.g. an authentication error. It's "acrtively" refused - to me that means that the server has analysed the request and decided
to refuse it. Is this an American/British language issue?
because the target machine actively refused it 192.168.1.152:4532
On the Pi check that port 4532 is open.? "Actively refused" may mean that the server (in this case, the pi) is not accepting inbound connections on the port.? You will also want to be sure, on the pi, that hamlib is listening to that port.??