It wasn't really a problem, it was a misinterpretation.
The problem was that the service was running in the background, and I couldn't see it over task list and I also couldn't see the bound port over netstat.
So the message:
cntlm: Cannot bind port *: Address already in use!
Was right.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can't get cntlm to bind a port.
My setup:
- Windows 7
- cntlm 0.92.3
The command to start cntlm:
C:\Program Files (x86)\Cntlm>cntlm -T cntlm-ok.log -v -f -s
What I tried:
- start as admin
- start as normal user
- start on different ports (from 3000 to 50000)
- I checked everytime if the port is free
The answer is everytime the same:
cntlm: Cannot bind port *: Address already in use!
cntlm: No proxy service ports were successfully opened.
Exitting with error. Check daemon logs or run with -v.
section: global, Username = 'xxxxxx'
section: global, Domain = 'xxxxx'
section: global, Password = 'xxxxxx'
section: global, Workstation = 'xxxxxx'
section: global, Proxy = 'proxy:3128'
section: global, Proxy = 'proxy:3128'
section: global, NoProxy = 'localhost, 127.0.0., 10., 192.168.'
section: global, Listen = '32189'
section: global, Header = 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0'
Default config file opened successfully
Adding no-proxy for: 'localhost'
Adding no-proxy for: '127.0.0.'
Adding no-proxy for: '10.'
Adding no-proxy for: '192.168.*'
Solved the problem.
It wasn't really a problem, it was a misinterpretation.
The problem was that the service was running in the background, and I couldn't see it over task list and I also couldn't see the bound port over netstat.
So the message:
cntlm: Cannot bind port *: Address already in use!
Was right.
Hi,
Please explain how did you solve the issue. I am facing the same problem.
Thanks
Stop the cntlm under windows with:
net stop cntlm
After that you can start it again with
cntlm.exe -v