title: Ethereum client-go RPC response 403 "invalid host specified"
body: <p>I'm running <strong>ethereum/client-go</strong> docker image with the following flags:</p>
  
  <pre><code>docker run -p 8545:8545 ethereum/client-go --rpcapi personal,db,eth,net,web3 --rpc --rpcaddr 0.0.0.0 --rpccorsdomain * --rinkeby
  </code></pre>
  
  <p>This image is running on machine A and I can query the RPC within it. But when I try to query it from machine B I receive the following response:</p>
  
  <p>Request:</p>
  
  <pre><code>curl -X POST http://&lt;machine_A_address&gt;:8545 -H "Content-Type: application/json" --data '{"jsonrpc":"2÷.0","method":"eth_coinbase","params":[],"id":64}' --verbose
  </code></pre>
  
  <p>Response:</p>
  
  <pre><code>&lt; HTTP/1.1 403 Forbidden
  &lt; Content-Type: text/plain; charset=utf-8
  &lt; X-Content-Type-Options: nosniff
  &lt; Date: Wed, 18 Apr 2018 14:58:44 GMT
  &lt; Content-Length: 23
  &lt; 
  invalid host specified
  * Connection #0 to host ... left intact
  </code></pre>
  
  <p>How can I query the ethereum client hosted on machine A from machine B ? Where I can find the ethereum client logs so I can debug it ?</p>