On Thu, Jan 27, 2005 at 08:57:43AM +0100, UHRA wrote:
Hi, I have problem with stunnel. I like to create stunnel on my server. I want to create SSL connection on IRCD server. I am using UnrealIRCD. I have installed Stunnel 4.07 and OpenSSL 0.9.7e. I have created certificates. I use this command stunnel -c -d 6668 -r irc.myserver.sk:6697 and then when I run ircd then display me thist error:
[Mon Jan 24 18:27:49 2005] - Error binding stream socket to IP 0.0.0.0 port 6668 - irc.myserver.sk[]:Address already in use
Can you help me ?
This message means that there is some other program on your machine that is already listening on port 6668. You can find out which one it is by several means: - under recent versions of Linux, try netstat -atnp | egrep -e '6668.*LISTEN' - under most BSD's, try sockstat -4l | fgrep :6668 - under pretty much all OS's, install lsof, then run lsof -nP -i 4:6668
G'luck, Peter