[stunnel-users] bind error when specifying hostname

Andrew Farmer andrew at nextmobileweb.com
Tue Oct 13 22:13:20 CEST 2009

Hi! I'm not sure if this message was sent to the mailing list the first
time... I was not subscribed before but I am now.

I'm trying to configure stunnel to use a different CERT depending upon the
hostname that my server is accessed on. (Same server has multiple hostnames)
Is this feature supported? I didn't get very far before running into issues.

This configuration works: (so I know nothing else is bound on port 443)
accept  = 443
... etc ...

This configuration fails:
accept  = nmw3.com:443
... etc ...

with this error: 
2009.10.09 14:49:18 LOG3[31137:3086100144]: Error binding https to
2009.10.09 14:49:18 LOG3[31137:3086100144]: bind: Cannot assign requested
address (99)

So I tried a simpler configuration:
accept  =
... etc ...

and that fails with this error: 
2009.10.09 14:56:28 LOG3[31222:3086722736]: Error binding https to
2009.10.09 14:56:28 LOG3[31222:3086722736]: bind: Address already in use

Appreciate all your help!

View this message in context: http://www.nabble.com/bind-error-when-specifying-hostname-tp25828605p25828605.html
Sent from the Stunnel - Users mailing list archive at Nabble.com.

More information about the stunnel-users mailing list