#1661 Privoxy launches too early = no IP to bind to.

3.0.15
open
nobody
startup (89)
5
2014-07-16
2014-07-08
db
No

Privoxy fails to startup since it tries to launch before my machine has an IP. Not sure if this is a bug or user error but maybe it should be in the FAQ?

2014-07-08 08:42:26.960 00000110 Fatal error: can't bind to 192.168.1.2:8118: Can't assign requested address

This is Privoxy from MacPorts.

Discussion

  • Fabian Keil
    Fabian Keil
    2014-07-10

    Thanks for the report, but "Privoxy from MacPorts" likely is launched with an OS-X-specific mechanism (launchd?), in which case the problem should be reported to the MacPorts people. In general Privoxy shouldn't be started before the addresses it's supposed to listen on (in your case 192.168.1.2) are available.

    Changing the listen-address to "0.0.0.0:8118" may be a workaround, but whether it'll allows clients to reach Privoxy at addresses that weren't available (yet) when Privoxy was started depends on the operating system and you may want to use ACLs to control which clients are served by Privoxy.

     
  • db
    db
    2014-07-16

    Ok, there is a report at MacPorts now

    https://trac.macports.org/ticket/44347