title: SSH tunnel not working - empty server response
body: <p>I am trying to setup an SSH tunnel but I am new to this process. This is my setup:</p>
  
  <p>Machine B has a web service with restricted access. Machine A has been granted access to Machine B's service, based on a firewall IP whitelist.</p>
  
  <p>I can connect to Machine A using an ssh connection. After that I try to access the webservice on Machine B from my localhost, but I cannot.</p>
  
  <p>The webservice endpoint looks like this: 
  <code>service.test.organization.com:443/org/v1/sendData</code></p>
  
  <p>So far, I have created an ssh tunnel like this: 
  <code>ssh -L 1234:service.test.organization.com:443 myuser@machineb.com</code></p>
  
  <p>My understanding was that using this approach, I could hit localhost:1234 and it would be forwarded to service.test.organization.com:443, through Machine B.</p>
  
  <p>I have confirmed that from Machine B, I can execute a curl command to send a message to the webservice, and i get a response (so that is working). I have tried using PostMan in my browser, and curl in terminal from localhost, but I have been unsuccessful. (<code>curl -X POST -d @test.xml localhost:1234/org/v1/sendData</code>)</p>
  
  <p>Error message: curl: (52) Empty reply from server</p>
  
  <p>There's a lot of material on SSH and I am sifting through it, but if anyone has any pointers, I would really appreciate it!</p>