switch back default port

This commit is contained in:
rany
2021-03-06 20:09:56 +02:00
parent 92b7a509e9
commit 3ebfea6b86
2 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
[![hola-proxy](https://snapcraft.io//hola-proxy/badge.svg)](https://snapcraft.io/hola-proxy)
Standalone Hola proxy client. Just run it and it'll start plain HTTP proxy server forwarding traffic via Hola proxies of your choice. By default application listens port on 127.0.0.1:8081.
Standalone Hola proxy client. Just run it and it'll start plain HTTP proxy server forwarding traffic via Hola proxies of your choice. By default application listens port on 127.0.0.1:8080.
Application is capable to forward traffic via proxies in datacenters (flag `-proxy-type direct`, default) or via peer proxies on residental IPs (consumer ISP) in that country (flag `-proxy-type peer`).
@@ -54,7 +54,7 @@ Docker image is available as well. Here is an example for running proxy via DE a
```sh
docker run -d \
--security-opt no-new-privileges \
-p 127.0.0.1:8081:8081 \
-p 127.0.0.1:8080:8080 \
--restart unless-stopped \
--name hola-proxy \
yarmak/hola-proxy -country de
@@ -148,7 +148,7 @@ zagent248.hola.org,165.22.65.3,22222,22223,digitalocean
$ ~/go/bin/hola-proxy -h
Usage of /home/user/go/bin/hola-proxy:
-bind-address string
HTTP proxy listen address (default "127.0.0.1:8081")
HTTP proxy listen address (default "127.0.0.1:8080")
-country string
desired proxy location (default "us")
-limit uint

View File

@@ -52,7 +52,7 @@ func parse_args() CLIArgs {
flag.BoolVar(&args.list_countries, "list-countries", false, "list available countries and exit")
flag.BoolVar(&args.list_proxies, "list-proxies", false, "output proxy list and exit")
flag.UintVar(&args.limit, "limit", 3, "amount of proxies in retrieved list")
flag.StringVar(&args.bind_address, "bind-address", "127.0.0.1:8081", "HTTP proxy listen address")
flag.StringVar(&args.bind_address, "bind-address", "127.0.0.1:8080", "HTTP proxy listen address")
flag.IntVar(&args.verbosity, "verbosity", 20, "logging verbosity " +
"(10 - debug, 20 - info, 30 - warning, 40 - error, 50 - critical)")
flag.DurationVar(&args.timeout, "timeout", 10 * time.Second, "timeout for network operations")