<EPERM on using network sockets via apache commons...
# stackoverflow
r
EPERM on using network sockets via apache commons net ftp I am importing the apache commons net ftp client import org.apache.commons.net.ftp.FTP import org.apache.commons.net.ftp.FTPClient And I try and execute the ftp.connect() function val ftp = FTPClient() ftp.connect(localAddress, port) Log.w("FTP", "connected") The ftp.connect() results in a long stacktrace exception. But mainly it is this line that seems to be the issue: Caused by: java.net.SocketException: socket failed: EPERM (Operation not permitted) And so I have added to...