[prev in list] [next in list] [prev in thread] [next in thread] 

List:       stunnel-users
Subject:    Re: [stunnel-users] Windows 2012 R2 Error on startup
From:       Rob Lockhart <rlockhar () gmail ! com>
Date:       2015-09-13 2:03:53
Message-ID: CAKak1RueQgMNgwmuqoeUxT9oOfrWMLO0f9CJJG6yM_GxEG2bhA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


According to your log files, something else is already listening on port 25.

from stunnel.conf:

; GMail ssmtp settings
[ssmtp]
accept = 25
connect = smtp.gmail.com:465

and from error log:

[!] Error binding service [ssmtp] to 0.0.0.0:25
[!] bind: No error (0)

That means if you're running Window Server, you should use a different port
than 25, as something else on your system is already using that (for SMTP,
presumably). Have you simply tried a different port, possibly higher than
1024 (like, 1465), then configure the client to connect to localhost to
that port (1465). Then it should connect to your gmail SMTP server. If you
can turn off SMTP on your Windows 2012 server, I would try that first.

I don't think this is a stunnel issue but an issue in trying to create an
additional service listening on a port for which there is already a
listening service.

Regards,
 -Rob


On Sat, Sep 12, 2015 at 4:52 PM, Han-Earl Guhm <hanguhm@educatingforlife.com
> wrote:

> I installed the latest version of stunnel and am having problems starting
> it up. I have attached an error log and my config file. I tested on Windows
> 7 and it worked with no problems, but I would really like it to work on my
> Windows 2012 server.
>
> Thank you,
>
> Han-Earl Guhm
> Coventry Christian Schools
> hanguhm@educatingforlife.com
>
> _______________________________________________
> stunnel-users mailing list
> stunnel-users@stunnel.org
> https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
>
>

[Attachment #5 (text/html)]

<div dir="ltr">According to your log files, something else is already listening on \
port 25.<div><br></div><div>from stunnel.conf:</div><div><br></div><div><div>; GMail \
ssmtp settings</div><div>[ssmtp]</div><div>accept = 25</div><div>connect = <a \
href="http://smtp.gmail.com:465">smtp.gmail.com:465</a></div></div><div><br></div><div>and \
from error log:</div><div><br></div><div><div>[!] Error binding service [ssmtp] to <a \
href="http://0.0.0.0:25">0.0.0.0:25</a></div><div>[!] bind: No error \
(0)</div></div><div><br></div><div>That means if you&#39;re running Window Server, \
you should use a different port than 25, as something else on your system is already \
using that (for SMTP, presumably). Have you simply tried a different port, possibly \
higher than 1024 (like, 1465), then configure the client to connect to localhost to \
that port (1465). Then it should connect to your gmail SMTP server. If you can turn \
off SMTP on your Windows 2012 server, I would try that \
first.</div><div><br></div><div>I don&#39;t think this is a stunnel issue but an \
issue in trying to create an additional service listening on a port for which there \
is already a listening service.</div><div><br></div><div>Regards,</div><div>  \
-Rob</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On \
Sat, Sep 12, 2015 at 4:52 PM, Han-Earl Guhm <span dir="ltr">&lt;<a \
href="mailto:hanguhm@educatingforlife.com" \
target="_blank">hanguhm@educatingforlife.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div \
dir="ltr">I installed the latest version of stunnel and am having problems starting \
it up. I have attached an error log and my config file. I tested on Windows 7 and it \
worked with no problems, but I would really like it to work on my Windows 2012 \
server.<br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><br></div><div dir="ltr">Thank you,<div><br></div><div>Han-Earl \
Guhm</div><div>Coventry Christian Schools</div><div><a \
href="mailto:hanguhm@educatingforlife.com" \
target="_blank">hanguhm@educatingforlife.com</a></div></div></div></div></div></div></div></div>
 </div>
<br>_______________________________________________<br>
stunnel-users mailing list<br>
<a href="mailto:stunnel-users@stunnel.org">stunnel-users@stunnel.org</a><br>
<a href="https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users" \
rel="noreferrer" target="_blank">https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users</a><br>
 <br></blockquote></div><br></div></div>


[Attachment #6 (text/plain)]

_______________________________________________
stunnel-users mailing list
stunnel-users@stunnel.org
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic