no PORT defined and exported
I managed to have apache not listening on *:80, instead now it listens on
5.39.20.238:80netstat -anp | grep apache
tcp 0 0
5.39.20.238:80 0.0.0.0:* LISTEN 16871/apache2
tcp 0 0
5.39.20.238:80 2.238.31.115:54111 ESTABLISHED 17563/apache2
tcp6 0 0 :::8081 :::* LISTEN 16871/apache2
tcp6 0 0 :::8443 :::* LISTEN 16871/apache2
tcp6 0 0 :::443 :::* LISTEN 16871/apache2
tcp6 0 0
5.39.20.238:443 91.252.182.12:4225 ESTABLISHED 17576/apache2
So, there is no reason for throwing an error if want bind socket to
5.39.20.239:80it seems the error is about ipv6
democracyos:notifier:transports Initializing nodemailer API client +9ms
events.js:154
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE :::80
but as far as I can see using netstat, I have not anything bound to :::80
thnx for suggestion on secret key :)