gradle Error:Could not connect to server
<p>Android studio project couldn't be compiled due to this gradle error</p>
<blockquote>
<p>Error:Could not connect to server [2a4d9e5f-6a2b-4c85-a0da-9f82a5ca8169 port:37079, addresses:[/127.0.0.1]].</p>
<p>Tried addresses: [/127.0.0.1].</p>
</blockquote>
<p>I'm using arch linux.</p>