Connect to 127.0.0.1:80 [/127.0.0.1] failed: Connection refused: connect

problem occurred configuring root project ‘android’.

Could not resolve all artifacts for configuration ‘:classpath’.
Could not resolve com.android.tools.build:gradle:3.3.0.
Required by:
project :
Could not resolve com.android.tools.build:gradle:3.3.0.
Could not get resource ‘https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.3.0/gradle-3.3.0.pom’.
Could not GET ‘https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.3.0/gradle-3.3.0.pom’.
Connect to 127.0.0.1:80 [/127.0.0.1] failed: Connection refused: connect
Could not resolve com.android.tools.build:gradle:3.3.0.
Could not get resource ‘https://jcenter.bintray.com/com/android/tools/build/gradle/3.3.0/gradle-3.3.0.pom’.
Could not GET ‘https://jcenter.bintray.com/com/android/tools/build/gradle/3.3.0/gradle-3.3.0.pom’.
Connect to 127.0.0.1:80 [/127.0.0.1] failed: Connection refused: connect

I have struggled for days with the ionic android capacitor to run on the android studio emulator and have tried different methods to get it to connect and resolve the resource dependencies. I have tried it with different start templates and still get the same error with different dependencies in Vue React and Angular can you please help me resolve this