Menu

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

Help
2014-04-04
2016-08-24
  • Florian Kammermann

    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.*'

     
  • Florian Kammermann

    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.

     
  • Vanisree T V

    Vanisree T V - 2016-03-07

    Hi,

    Please explain how did you solve the issue. I am facing the same problem.

    Thanks

     
    • Dris Hamed Fernandez

      Stop the cntlm under windows with:
      net stop cntlm

      After that you can start it again with
      cntlm.exe -v

       

Log in to post a comment.