Author Topic: cannot connect to port 21 after upgrade to cwppro  (Read 5185 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
cannot connect to port 21 after upgrade to cwppro
« on: December 10, 2021, 10:32:02 AM »
dear all friends,

can anyone help me, i cannot connect to ftp port 21 after upgrade to cwppro, pure-ftpd is running and i can ftp from inside machine but if i connect from outside always connecting....... and nothing happened.
i already try turn off firewall and result is the same, i looking for the log and nothing in the log.
maybe some one can tell me which log i have to see all ?

thank you


Offline
***
Re: cannot connect to port 21 after upgrade to cwppro
« Reply #1 on: December 10, 2021, 11:51:16 AM »
Try turning off modsec also.
Listen to everything Pixelpadre says.

Offline
**
Re: cannot connect to port 21 after upgrade to cwppro
« Reply #2 on: December 10, 2021, 01:03:22 PM »
Hi,

Do you use some local FTP client like Filezilla or net2ftp ? In case you use the local mail client then show us the FTP log of your FTP client and server (remove the server IP before you paste logs here).
« Last Edit: December 10, 2021, 01:05:59 PM by cyberspace »

Offline
*
Re: cannot connect to port 21 after upgrade to cwppro
« Reply #3 on: December 10, 2021, 11:28:11 PM »
try checking firewall by whitelisting your IP
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: cannot connect to port 21 after upgrade to cwppro
« Reply #4 on: December 11, 2021, 03:31:39 AM »
I already put my ip on whitelisting, I connect from windows using winsccp and filezilla is the same result always connecting, I also try ftp from other centos is the same. I will try turn off modsec and report the result here later.

Offline
***
Re: cannot connect to port 21 after upgrade to cwppro
« Reply #5 on: December 12, 2021, 03:23:58 PM »
I already put my ip on whitelisting, I connect from windows using winsccp and filezilla is the same result always connecting, I also try ftp from other centos is the same. I will try turn off modsec and report the result here later.

Also add it to you ignore list.

Be sure that modsec and firewall are both off when troubleshooting.
Listen to everything Pixelpadre says.

Offline
*
Re: cannot connect to port 21 after upgrade to cwppro
« Reply #6 on: December 13, 2021, 04:54:12 AM »
/etc/hosts.allow i already put my ip, modsec off, firewall off , already put port 21 on firewall tcp and udp, status ftp
● pure-ftpd.service - Pure-FTPd FTP server
   Loaded: loaded (/usr/lib/systemd/system/pure-ftpd.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2021-12-10 17:20:59 WIB; 2 days ago
 Main PID: 1095 (pure-ftpd)
   CGroup: /system.slice/pure-ftpd.service
           └─1095 pure-ftpd (SERVER) 
my client log file (i'm using winscp)

. 2021-12-13 11:48:13.578 --------------------------------------------------------------------------
. 2021-12-13 11:48:13.579 WinSCP Version 5.19.5 (Build 11933 2021-11-25) (OS 10.0.17763 - Windows 10 Enterprise LTSC 2019)
. 2021-12-13 11:48:13.579 Configuration: HKCU\Software\Martin Prikryl\WinSCP 2\
. 2021-12-13 11:48:13.579 Log level: Debug 2
. 2021-12-13 11:48:13.580 Local account: JMM-ADI7\adalton
. 2021-12-13 11:48:13.580 Working directory: C:\Program Files (x86)\WinSCP
. 2021-12-13 11:48:13.580 Process ID: 19808
. 2021-12-13 11:48:13.600 Ancestor processes: explorer, ...
. 2021-12-13 11:48:13.634 Command-line: "C:\Program Files (x86)\WinSCP\WinSCP.exe"
. 2021-12-13 11:48:13.635 Time zone: Current: GMT+7 (SE Asia Standard Time), No DST
. 2021-12-13 11:48:13.635 Login time: Monday, December 13, 2021 11:48:13 AM
. 2021-12-13 11:48:13.635 --------------------------------------------------------------------------
. 2021-12-13 11:48:13.635 Session name: myemail@address (Site)
. 2021-12-13 11:48:13.635 Host name: my.domain (Port: 21)
. 2021-12-13 11:48:13.635 User name: my@email.address (Password: Yes, Key file: No, Passphrase: No)
. 2021-12-13 11:48:13.635 Transfer Protocol: FTP
. 2021-12-13 11:48:13.635 Ping type: Dummy, Ping interval: 30 sec; Timeout: 15 sec
. 2021-12-13 11:48:13.635 Disable Nagle: No
. 2021-12-13 11:48:13.635 Proxy: None
. 2021-12-13 11:48:13.635 Send buffer: 262144
. 2021-12-13 11:48:13.635 UTF: Auto
. 2021-12-13 11:48:13.635 FTPS: None [Client certificate: No]
. 2021-12-13 11:48:13.636 FTP: Passive: Yes [Force IP: Auto]; MLSD: Auto [list all: Auto]; HOST: Auto
. 2021-12-13 11:48:13.636 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2021-12-13 11:48:13.636 Cache directory changes: Yes, Permanent: Yes
. 2021-12-13 11:48:13.636 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2021-12-13 11:48:13.636 Timezone offset: 0h 0m
. 2021-12-13 11:48:13.636 --------------------------------------------------------------------------
. 2021-12-13 11:48:13.640 Session upkeep
. 2021-12-13 11:48:13.682 Connecting to my.domain ...
. 2021-12-13 11:48:13.682 Connection pending
. 2021-12-13 11:48:28.636 Timeout detected. (control connection)
. 2021-12-13 11:48:28.636 Connection closed
. 2021-12-13 11:48:28.636 Connection failed.
. 2021-12-13 11:48:28.636 Got reply 1004 to the command 1
* 2021-12-13 11:48:28.663 (EFatal) Connection failed.
* 2021-12-13 11:48:28.663 Timeout detected. (control connection)
* 2021-12-13 11:48:28.663 Connection failed.
. 2021-12-13 11:48:41.359 Connection closed

any other idea ?

fyi: i can connect to this machine using ssh
      [/list]

Offline
*
Re: cannot connect to port 21 after upgrade to cwppro
« Reply #7 on: December 13, 2021, 07:24:50 AM »
my ftp is already working again, problem is in router setting, i don't know why but i think my block ip is route to nowhere on port 21 by router. so this case is close.

thank you everyone