E/FileTransfer: {
“code”:3,
“source”:“http://localhost/capacitor_file/data/user/0/io.ionic.starter/files/15948856657
66.jpg”,
“target”:“https://mysite/upload”,“http_status”:200,“exception”:“Failed to connect to
localhost/127.0.0.1:80”
}
java.net.ConnectException: Failed to connect to localhost/127.0.0.1:80
I want to upload photos on android app using Ionic 5 and capacitor. I get this error.
how can i solve this problem?