title: Socket operation failed - SOCKET_ECONNREFUSED - ClamAV Laravel
body: <p>I'm trying to create a validation system to check if the uploaded file has secured, and I use ClamAV, but not work <strong>(Wampserver64)</strong> :(</p>
  
  <p>Give me this error:</p>
  
  <blockquote>
    <p>Socket operation failed: No connection could be established because
    the target computer explicitly denied it. (SOCKET_ECONNREFUSED). Exception (10061)</p>
  </blockquote>
  
  <p>My Code:</p>
  
  <pre><code>// CLAMAV VERFICATION
  $validator = \Validator::make($request-&gt;all(), [
             'file' =&gt; 'clamav',
  ]);
  
  if ($validator-&gt;fails()) {
     return response()-&gt;json([
            'title' =&gt; trans('lang.OOPS'),
            'html' =&gt; $validator-&gt;errors()-&gt;all(),
            'type_is' =&gt; 'swal',
            'status' =&gt; 'error'
     ]); 
  }
  </code></pre>
  
  <p>I use this package: <a href="https://github.com/sunspikes/clamav-validator" rel="nofollow noreferrer">https://github.com/sunspikes/clamav-validator</a></p>
  
  <p>I hope for help, Thank you :) </p>