I want to run spamd a daemon on bash (Ubuntu). Although when running this command within my virtual machine I get the following error;
spamd: could not create IO::Socket::IP socket on [::1]:783: Permission denied
server socket setup failed, retry 1: spamd: could not create IO::Socket::IP socket on [127.0.0.1]:783: Permission denied
To check what processes are running in the background within bash, I then run this command;
ss -tlnp | grep 783 which returns;
Process
LISTEN 0 4096 127.0.0.1:783 0.0.0.0:* users:(("spamd child",pid=162510,fd=6),("spamd child",pid=162509,fd=6),("spamd",pid=162505,fd=6))
LISTEN 0 4096 127.0.0.1:631 0.0.0.0:* users:(("cupsd",pid=193524,fd=7))
LISTEN 0 4096 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=155473,fd=3),("systemd",pid=1,fd=218))
LISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:* users:(("systemd-resolve",pid=568,fd=15))
LISTEN 0 4096 127.0.0.54:53 0.0.0.0:* users:(("systemd-resolve",pid=568,fd=17))
LISTEN 0 4096 [::1]:783 [::]:* users:(("spamd child",pid=162510,fd=5),("spamd child",pid=162509,fd=5),("spamd",pid=162505,fd=5))
LISTEN 0 4096 [::1]:631 [::]:* users:(("cupsd",pid=193524,fd=6))
LISTEN 0 4096 [::]:22 [::]:* users:(("sshd",pid=155473,fd=4),("systemd",pid=1,fd=229))
Therefore spamd is running as a process in the background. Although I have killed it, but that didn’t resolve the error or run spamd as a daemon. I know that the issue is most likely that my virtual machine cannot access some ports, or that is what I was informed. I don’t typically like to ask questions on Stackoverflow cause, they are always marked as not understood; but I couldn’t resist, this problem is already over a week and even asking an A.i agent none of its solutions solved this problem.