Artifactory connection time out

i have added a js file in artifactory when try to download with the following details it is saying connection time out

dependencies {

compile group:‘server’, name:‘server’, version:‘1.0’,ext:‘js’ }

<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
  <groupId>server</groupId>
  <artifactId>server</artifactId>
  <version>1.0</version>
  <packaging>js</packaging>
  <description>Artifactory auto generated POM</description>
 </project>

Error

  * What went wrong:  Could not resolve all dependencies for configuration ':compile'.  > Could not resolve server:server:1.0.

 Required by:



  com.aaa.vvv:1.0.0

  > Could not HEAD 'http://abu:8081/artifactory/server/server/1.0/server-1.0.js'.



  > Software caused connection abort: recv failed

 * Try:  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.  

identofied the issue , init.gradle pointed to maven repo not my artifactory