[clamav-users] ERROR: NotifyClamd: Can't connect to clamd on 127.0.0.1:3310: Connection refused
Kris Deugau
kdeugau at vianet.ca
Thu Feb 1 18:53:38 UTC 2018
Chris wrote:
> Using nc -l 3310 in one terminal and nc 127.0.0.1 3310 I get:
>
> nc -l 3310
> test
> this is a test
>
> nc 127.0.0.1 3310
> test
> this is a test
>
> So, IIUC I can talk to port 3310 with 127.0.0.1 or am I incorrect?
nc -l should have returned an error if clamd was actually listening on
that port.
TCP communication is working, but based on this log line from your
earlier post:
Jan 30 19:12:39 localhost clamd[22830]: TCP: No tcp AF_INET/AF_INET6
SOCK_STREAM socket received from systemd.
you have an issue with how clamd is started from systemd - basically,
systemd needs to be told to set up a TCP socket as well as (instead of?
don't know if it's possible to use both) the local UNIX socket.
-kgd
More information about the clamav-users
mailing list