title: Printing on local label printer from the php server side, with RamyTalal/Label-Printer library
body: <p>I'm printing successfully in a local dev enviorement, running my web server on the same lan where I have the brother label printer. This is the code:</p>
  <pre><code>use Talal\LabelPrinter\Printer;
  use Talal\LabelPrinter\Mode\Template;
  use Talal\LabelPrinter\Command;
  
  $stream = stream_socket_client('tcp://192.168.1.76:9100', $errorNumber, $errorString);
  $printer = new Printer(new Template(1, $stream));
  $printer-&gt;addCommand(new Command\ObjectCommand('referencebarcode', $product-&gt;reference ));
  $printer-&gt;printLabel();
  </code></pre>
  <p>Work fine, but when I try on the production server, changing local ip 192.168.1.76 to public ip brother installed lan, and port 9100 forwarding to local brother IP. It's not working.</p>
  <p>My server are running on docker container, across a nginx inverse proxy.</p>
  <p>Can I do that? There is another way to do this? Print barcodes on my Wifi Brother, from my app running on server deployed on the internet?</p>
  <p>Thanks a lot</p>