the program does not listen and does not work on IPv4 protocol (no tcp).
Listens only on IPv6 port (only tcp6). Where could the problem be?
Phone: Redmi Note 7 (LineageOS 16.0 (Android 9.0))
netstat -lptun | grep ftp
tcp6 0 0 :::12377 :::* LISTEN 3483/org.primftpd
------------ Log ------------
"2019-11-30 10:34:57.9";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"onResume()";"";
"2019-11-30 10:34:57.9";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"displayServersState()";"";
"2019-11-30 10:34:57.9";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"checkServicesRunning()";"";
"2019-11-30 10:34:57.9";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"updateButtonStates()";"";
"2019-11-30 10:34:57.9";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"network connectivity changed, data str: 'null', action: 'android.net.conn.CONNECTIVITY_CHANGE'";"";
"2019-11-30 10:34:59.5";"TRACE";"org.primftpd.PrimitiveFtpdActivity";"genKeysAndShowProgressDiag()";"";
"2019-11-30 10:34:59.5";"TRACE";"org.primftpd.ui.GenKeysAsyncTask";"GenKeysAsyncTask()";"";
"2019-11-30 10:34:59.5";"DEBUG";"org.primftpd.ui.GenKeysAsyncTask";"generating key";"";
"2019-11-30 10:34:59.5";"TRACE";"org.primftpd.ui.GenKeysAsyncTask";"num of existing files: '0'";"";
"2019-11-30 10:34:59.7";"TRACE";"org.primftpd.ui.GenKeysAsyncTask";"onPostExecute()";"";
"2019-11-30 10:34:59.7";"TRACE";"org.primftpd.util.KeyFingerprintProvider";"calcPubkeyFingerprints()";"";
"2019-11-30 10:34:59.7";"TRACE";"org.primftpd.PrimitiveFtpdActivity";"handleStart()";"";
"2019-11-30 10:34:59.7";"TRACE";"org.primftpd.PrimitiveFtpdActivity";"hasPermission()";"";
"2019-11-30 10:34:59.7";"TRACE";"org.primftpd.PrimitiveFtpdActivity";"isKeyPresent() -> true";"";
"2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.services.SshServerService";"onStartCommand()";"";
"2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.services.ServerServiceHandler";"handleMessage()";"";
"2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"handling event, offset: 1575142499765 ms";"";
"2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.services.ServerServiceHandler";"starting sftp-ssh server";"";
"2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"displayServersState()";"";
"2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"checkServicesRunning()";"";
"2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"updateButtonStates()";"";
"2019-11-30 10:34:59.7";"INFO";"org.apache.sshd.common.util.SecurityUtils";"BouncyCastle already registered as a JCE provider";"";
"2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.services.FtpServerService";"onStartCommand()";"";
"2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"ignoring event, offset: 7 ms";"";
"2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.services.ServerServiceHandler";"handleMessage()";"";
"2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.services.ServerServiceHandler";"starting ftp server";"";
"2019-11-30 10:34:59.8";"DEBUG";"org.apache.ftpserver.impl.DefaultFtpServerContext";"Intializing shared thread pool executor with max threads of 10";"";
"2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.services.ServerServiceHandler";"acquiring wake lock (sftp-ssh)";"";
"2019-11-30 10:34:59.8";"INFO";"org.apache.ftpserver.impl.DefaultFtpServer";"FTP server started";"";
"2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.services.ServerServiceHandler";"wake lock already taken (ftp)";"";
"2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"addr: '/fe80::3c55:b7ff:fe6e:b0ec%dummy0', iface name: 'dummy0', disp name: 'dummy0', loopback: '...";"";
"2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"Skipping IPv6 address 'fe80::3c55:b7ff:fe6e:b0ec%dummy0'";"";
"2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"addr: '/::1', iface name: 'lo', disp name: 'lo', loopback: 'true'";"";
"2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"addr: '/127.0.0.1', iface name: 'lo', disp name: 'lo', loopback: 'true'";"";
"2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"addr: '/fe80::2a16:7fff:fee2:b36a%wlan0', iface name: 'wlan0', disp name: 'wlan0', loopback: 'false'";"";
"2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"Skipping IPv6 address 'fe80::2a16:7fff:fee2:b36a%wlan0'";"";
"2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"addr: '/192.168.1.7', iface name: 'wlan0', disp name: 'wlan0', loopback: 'false'";"";
"2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"addr: '/fe80::3c55:b7ff:fe6e:b0ec%dummy0', iface name: 'dummy0', disp name: 'dummy0', loopback: '...";"";
"2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"Skipping IPv6 address 'fe80::3c55:b7ff:fe6e:b0ec%dummy0'";"";
"2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"addr: '/::1', iface name: 'lo', disp name: 'lo', loopback: 'true'";"";
"2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"addr: '/127.0.0.1', iface name: 'lo', disp name: 'lo', loopback: 'true'";"";
"2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"addr: '/fe80::2a16:7fff:fee2:b36a%wlan0', iface name: 'wlan0', disp name: 'wlan0', loopback: 'false'";"";
"2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"Skipping IPv6 address 'fe80::2a16:7fff:fee2:b36a%wlan0'";"";
"2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"addr: '/192.168.1.7', iface name: 'wlan0', disp name: 'wlan0', loopback: 'false'";"";
"2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.remotecontrol.TaskerReceiver";"sending tasker RequestQueryCondition";"";
"2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.remotecontrol.TaskerReceiver";"sending tasker RequestQueryCondition";"";
"2019-11-30 10:35:06.7";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"onPause()";"";
"2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"onStart()";"";
"2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"loadPrefs()";"";
"2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got anonymousLogin: false";"";
"2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got userName: delete";"";
"2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got password: delete...";"";
"2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got startDir: /storage/emulated/0";"";
"2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got announce: false";"";
"2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got announceName: primitiveNote";"";
"2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got wakelock: true";"";
"2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got pubKeyAuth: false";"";
"2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got 'which server': ALL";"";
"2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got ftpPassivePorts: null";"";
"2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got idleTimeout: null";"";
"2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got 'port': 12355";"";
"2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got 'secure port': 12377";"";
"2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got showConnectionInfo: true";"";
"2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got 'StorageType': PLAIN";"";
"2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got safUrl: ";"";
"2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got allowedIpsPattern: ";"";
"2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got 'logging': NONE";"";
"2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.services.FtpServerService";"onDestroy()";"";
"2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.services.ServerServiceHandler";"handleMessage()";"";
"2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.services.ServerServiceHandler";"stopping ftp server";"";
"2019-11-30 10:41:11.4";"DEBUG";"org.apache.ftpserver.impl.DefaultFtpServerContext";"Shutting down the thread pool executor";"";
"2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.services.ServerServiceHandler";"releasing wake lock (ftp)";"";
"2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.services.ServerServiceHandler";"stopSelf (ftp)";"";
"2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.remotecontrol.TaskerReceiver";"sending tasker RequestQueryCondition";"";
"2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.services.SshServerService";"onDestroy()";"";
"2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.services.ServerServiceHandler";"handleMessage()";"";
"2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.services.ServerServiceHandler";"stopping sftp-ssh server";"";
"2019-11-30 10:41:11.4";"DEBUG";"org.apache.sshd.SshServer";"Closing SshServer[a4b3f19] gracefully";"";
"2019-11-30 10:41:11.4";"DEBUG";"org.apache.sshd.common.io.mina.MinaServiceFactory";"Closing org.apache.sshd.common.io.mina.MinaServiceFactory@131d4ec gracefully";"";
"2019-11-30 10:41:11.4";"DEBUG";"org.apache.sshd.common.io.mina.MinaServiceFactory";"org.apache.sshd.common.io.mina.MinaServiceFactory@131d4ec closed";"";
"2019-11-30 10:41:11.4";"DEBUG";"org.apache.sshd.SshServer";"SshServer[a4b3f19] closed";"";
"2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.services.ServerServiceHandler";"wake lock already released (sftp-ssh)";"";
"2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.services.ServerServiceHandler";"stopSelf (sftp-ssh)";"";
"2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.remotecontrol.TaskerReceiver";"sending tasker RequestQueryCondition";"";
"2019-11-30 10:41:13.8";"DEBUG";"org.primftpd.remotecontrol.TaskerReceiver";"sending tasker RequestQueryCondition";"";
"2019-11-30 10:41:13.8";"DEBUG";"org.primftpd.remotecontrol.TaskerReceiver";"sending tasker RequestQueryCondition";"";
"2019-11-30 10:46:51.3";"DEBUG";"org.primftpd.remotecontrol.TaskerReceiver";"sending tasker RequestQueryCondition";"";