Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

cntlm: Cannot bind port ******: Address already in use!

Help
2014-04-04
2014-04-09
  • 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.