<p>I got it working for pool-x.eu connecting via port 80 (the proxy server name and port is just what my browser uses):</p>

<pre><code>@echo off
set HTTP_PROXY=http://myproxyserver:myport
START /LOW /B minerd.exe --algo scrypt --url http://mine.pool-x.eu:80/ --userpass myusername.1:mypassword --threads 4 -r -1 -s 5
</code></pre>

<p>Not all pools allow connections through port 80, so it does limit which pools you can connect to.</p>

CC BY-SA 3.0
2012-08-13T03:09:27.227Z
2012-08-13T03:09:27.227Z
Highly Irregular
<p>I've downloaded the Windows 64-bit Litecoin mining software as provided from <a href="http://pool-x.eu/gettingstarted" rel="nofollow">http://pool-x.eu/gettingstarted</a></p>

<p>I'm trying to run the miner from behind a firewall. My browser uses an HTTP proxy to get to the internet, and as I understand it I should be able to use a similar method to connect my Litecoin miner to a pool.</p>

<p>So far, I've modified the file start.console.bat from:</p>

<pre><code>@echo off

START /LOW /B minerd.exe --algo scrypt --url http://litecoinpool.org:9332/ --userpass username.1:1 --threads 4 -r -1 -s 5
</code></pre>

<p>to:</p>

<pre><code>@echo off
set HTTP_PROXY=http://myproxyserver:myport
START /LOW /B minerd.exe --algo scrypt --url http://litecoinpool.org:9332/ --userpass myusername.1:mypassword --threads 4 -r -1 -s 5
</code></pre>

<p>I've substituted my values in to take the place of the following values:
myproxyserver
myport
9332
myusername.1
mypassword</p>

<p>When I try using the port my browser uses for the proxy server (for both port values), I get this output when I run it (and it spits out another error every 30 secs):</p>

<pre><code>[2012-07-07 13:57:48] HTTP request failed: The requested URL returned error: 503

[2012-07-07 13:57:48] json_rpc_call failed, retry after 30 seconds
[2012-07-07 13:57:48] 1 miner threads started, using 'scrypt' algorithm.
</code></pre>

<p>Should the port number for the proxy and for the mining script be the same? What settings can I use to get my miner working? </p>

CC BY-SA 3.0
2012-07-07T02:21:27.870Z
This question is related but not identical: http://bitcoin.stackexchange.com/q/4014/516
Highly Irregular
<mining-pools><litecoin><miner-configuration><installation><proxy>
How to run a litecoin miner behind a proxy server?
Highly Irregular
# How to run a litecoin miner behind a proxy server?

(Asked by: username_0 on 2012-07-07)

I've downloaded the Windows 64-bit Litecoin mining software as provided from <http://pool-x.eu/gettingstarted>

I'm trying to run the miner from behind a firewall. My browser uses an HTTP proxy to get to the internet, and as I understand it I should be able to use a similar method to connect my Litecoin miner to a pool.

So far, I've modified the file start.console.bat from:

```
@echo off

START /LOW /B minerd.exe --algo scrypt --url http://litecoinpool.org:9332/ --userpass username.1:1 --threads 4 -r -1 -s 5

```

to:

```
@echo off
set HTTP_PROXY=http://myproxyserver:myport
START /LOW /B minerd.exe --algo scrypt --url http://litecoinpool.org:9332/ --userpass myusername.1:mypassword --threads 4 -r -1 -s 5

```

I've substituted my values in to take the place of the following values:
myproxyserver
myport
9332
myusername.1
mypassword

When I try using the port my browser uses for the proxy server (for both port values), I get this output when I run it (and it spits out another error every 30 secs):

```
[2012-07-07 13:57:48] HTTP request failed: The requested URL returned error: 503

[2012-07-07 13:57:48] json_rpc_call failed, retry after 30 seconds
[2012-07-07 13:57:48] 1 miner threads started, using 'scrypt' algorithm.

```

Should the port number for the proxy and for the mining script be the same? What settings can I use to get my miner working?

**Tags:** mining-pools, litecoin, miner-configuration, installation, proxy

> **Comments:**
> **username_0**: This question is related but not identical: http://bitcoin.stackexchange.com/q/4014/516  

---

## 1 answers

### Answer by username_0 on 2012-08-13. Score: 1 | Accepted answer

I got it working for pool-x.eu connecting via port 80 (the proxy server name and port is just what my browser uses):

```
@echo off
set HTTP_PROXY=http://myproxyserver:myport
START /LOW /B minerd.exe --algo scrypt --url http://mine.pool-x.eu:80/ --userpass myusername.1:mypassword --threads 4 -r -1 -s 5

```

Not all pools allow connections through port 80, so it does limit which pools you can connect to.


---

