Try running
netstat -an
from the command line to see if any other application has those ports open.

Carter

On 10/10/2018 3:11 PM, Hardik Mehta wrote:
Hi,

can you please help, I was able to send a mail using blat, stunnel and gmail and then i tried adding Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run Name: Stunnel Type: REG_SZ Value: "c:\Program Files (x86)\stunnel\bin\stunnel.exe"
 to run on windows startup, but as soon as i restarted the system gave me following message
stunnel 5.49 on Win32 (invalid configuration file) Stunnel server is down due to an error. you need to exit and correct the problem. click of to see the error lg window

this is the log that i'm getting on stunnel
[ ] Running on Windows 6.2
[.] Reading configuration from file stunnel.conf
[.] UTF-8 byte order mark detected
[.] FIPS mode disabled
[ ] Compression disabled
[ ] No PRNG seeding was required
[ ] Initializing service [SMTP Gmail]
[ ] Ciphers: HIGH:!aNULL:!SSLv2:!DH:!kDHEPSK
[ ] TLS options: 0x03000004 (+0x00000000, -0x00000000)
[ ] No certificate or private key specified
[:] Service [SMTP Gmail] needs authentication to prevent MITM attacks
[ ] Initializing service [POP3 Gmail]
[ ] Ciphers: HIGH:!aNULL:!SSLv2:!DH:!kDHEPSK
[ ] TLS options: 0x03000004 (+0x00000000, -0x00000000)
[ ] No certificate or private key specified
[:] Service [POP3 Gmail] needs authentication to prevent MITM attacks
[.] Configuration successful
[ ] Binding service [SMTP Gmail]
[ ] Listening file descriptor created (FD=1800)
[ ] Setting accept socket options (FD=1800)
[ ] Option SO_EXCLUSIVEADDRUSE set on accept socket
[ ] Service [SMTP Gmail] (FD=1800) bound to ::1:1099
[ ] Listening file descriptor created (FD=1516)
[ ] Setting accept socket options (FD=1516)
[ ] Option SO_EXCLUSIVEADDRUSE set on accept socket
[.] Binding service [SMTP Gmail] to 127.0.0.1:1099: Address already in use (WSAEADDRINUSE) (10048)
[ ] Binding service [POP3 Gmail]
[ ] Listening file descriptor created (FD=1516)
[ ] Setting accept socket options (FD=1516)
[ ] Option SO_EXCLUSIVEADDRUSE set on accept socket
[.] Binding service [POP3 Gmail] to 127.0.0.1:1109: Address already in use (WSAEADDRINUSE) (10048)
[!] Binding service [POP3 Gmail] failed
[ ] Deallocating section defaults
[ ] Unbinding service [SMTP Gmail]
[ ] Service [SMTP Gmail] closed (FD=1800)
[ ] Service [SMTP Gmail] closed
[ ] Deallocating section [SMTP Gmail]
[ ] Unbinding service [POP3 Gmail]
[ ] Service [POP3 Gmail] closed
[ ] Deallocating section [POP3 Gmail]

[!] Server is down

I also tried changing 1099 to some other random ports but nothing works
tried stopping gui, service & service uninstall, then service reinstall, service start & open gui, but the same log appears

an early help will be highly appreciated.
--
Regards



Legal Disclaimer
The information contained in this electronic communication is intended solely for the individual(s) or entity to which it is addressed. It may contain proprietary, confidential and/or legally privileged information. Any review, retransmission, dissemination, printing, copying or other use of, or taking any action in reliance on the contents of this information by person(s) or entities other than the intended recipient is strictly prohibited and may be unlawful. If you are not the addressee, or person responsible for delivering it to the addressee, you should not copy or deliver this to anyone else. If you receive this message by mistake, please notify us by responding to this email or telephone and immediately and permanently delete all copies of this message and any attachments from your system(s). We appreciate your assistance in preserving the confidentiality of our correspondence. Any information in this message that does not relate to the official business of the organization shall be understood as neither given nor endorsed by it. The contents of this message do not necessarily represent the views or policies of the Hardik Printers. Computer viruses can be transmitted via email. Hardik Printers attempts to sweep e-mails and attachments for viruses, it does not guarantee that either are virus free. The recipient should check this email and any attachments for the presence of viruses. Hardik Printers shall neither be liable for security of any information transmitted electronically nor be liable or responsible for the proper, timely and complete transmission thereof.


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