From 3ebfea6b86cd951a6c2734dafe33aa6097f1f2e1 Mon Sep 17 00:00:00 2001 From: rany Date: Sat, 6 Mar 2021 20:09:56 +0200 Subject: [PATCH] switch back default port --- README.md | 6 +++--- main.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0180fef..8afcfda 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/main.go b/main.go index e0933ad..177391a 100644 --- a/main.go +++ b/main.go @@ -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")