jech / polipo

The Polipo caching HTTP proxy
http://www.pps.jussieu.fr/~jch/software/polipo/
MIT License
1.8k stars 354 forks source link

polipo ignores specified port number #102

Closed mahmoodn closed 6 years ago

mahmoodn commented 6 years ago

Hi Although I have configured polipo to use the port number 9050, I don't know why it listens to 8123! Please see the output below

# > /var/log/polipo/polipo.log 
# cat /etc/polipo/config 
logSyslog = true
logFile = /var/log/polipo/polipo.log
allowedClients = 127.0.0.1, 192.168.1.0/24 # Expose your network (modify accordingly)
socksParentProxy = "127.0.0.1:9050"
socksProxyType = socks5
proxyAddress = "0.0.0.0"    # IPv4 only
# service polipo restart
# cat /var/log/polipo/polipo.log 
Established listening socket on port 8123.
# netstat -ntlup | grep polipo
tcp        0      0 0.0.0.0:8123            0.0.0.0:*               LISTEN      25351/polipo  
jech commented 6 years ago

You want to specify proxyPort, not socksParentProxy.