title: Laravel-echo-server , net::ERR_CONNECTION_TIMED_OUT
body: <p>I have a strange problem only on live server using <strong>laravel-echo-server</strong>, <strong>redis</strong>, <strong>ssl</strong> .</p>
  
  <p>Error:
  <code>GET https://dev.my_domain.com:6001/socket.io/?EIO=3&amp;transport=polling&amp;t=Ml1g-Fq net::ERR_CONNECTION_TIMED_OUT</code></p>
  
  <p>Below you can find my configs:
  laravel-echo-server.json</p>
  
  <pre><code>{
      "authHost": "https://dev.my_domain.com",
      "authEndpoint": "/broadcasting/auth",
      "clients": [],
      "database": "redis",
      "databaseConfig": {
          "redis": {
              "port": "6379",
                      "host": "127.0.0.1"
          }
      },
      "devMode": true,
      "host": null,
      "port": "6001",
      "protocol": "https",
      "socketio": {},
      "sslCertPath": "/etc/letsencrypt/live/dev.my_domain.com/fullchain.pem",
      "sslKeyPath": "/etc/letsencrypt/live/dev.my_domain.com/privkey.pem"
  }
  </code></pre>
  
  <p>Bootstrap.js</p>
  
  <pre><code>import Echo from 'laravel-echo';
  
  window.io = require('socket.io-client');
  
  window.Echo = new Echo({
      broadcaster: 'socket.io',
      host: window.location.hostname + ':6001'
  });
  </code></pre>
  
  <p>Port 6001 is enabled:
  <code>tcp6       0      0 :::6001                 :::*                    LISTEN      10728/laravel-echo-</code></p>
  
  <p>After running laravel-echo-server start</p>
  
  <pre><code>L A R A V E L  E C H O  S E R V E R
  
  version 1.5.5
  
  ⚠ Starting server in DEV mode...
  
  ✔  Running at localhost on port 6001
  ✔  Channels are ready.
  ✔  Listening for http events...
  ✔  Listening for redis events...
  
  Server ready!
  </code></pre>
  
  <p>It is working correctly on my localhost without ssl configuration.</p>
  
  <p>Let me know if someone has a solution for this problem ,</p>
  
  <p>Thanks to everyone in advance</p>