The FTP service was working beautifully when suddenly it stopped allowing me accesses from outside of the LAN. The router is still working and port 21 is still being forwarded to my server.
I still can access the FTP server from within the LAN, but when I tried to access from the WAN through Chrome it says server refused connection. FilleZilla does the same. CuteFTP (the one I use) DO allows me in after doing some process (dunno what) but I need Chrome and Filezilla to work for my customers.
Here is the log of the CuteFTP connection. Can you help me spot what's wrong? I notice it fails after trying to enter into passive mode, then it switches to something else (which FileZilla doesn't seem to do) and that's how it gains access.
*** CuteFTP 8.0 - build Feb 6 2007 *** STATUS:> [8/31/2017 9:15:40 AM] Getting listing ""... STATUS:> [8/31/2017 9:15:40 AM] Resolving host name [MY_HOST_NAME]... STATUS:> [8/31/2017 9:15:40 AM] Host name [MY_HOST_NAME] resolved: ip = [MY_PUBLIC_IP]. STATUS:> [8/31/2017 9:15:40 AM] Connecting to FTP server... [MY_HOST_NAME]:21 (ip = [MY_PUBLIC_IP])... STATUS:> [8/31/2017 9:15:40 AM] Socket connected. Waiting for welcome message... [8/31/2017 9:15:40 AM] 220 Microsoft FTP Service STATUS:> [8/31/2017 9:15:40 AM] Connected. Authenticating... COMMAND:> [8/31/2017 9:15:40 AM] USER [MY_USERNAME] [8/31/2017 9:15:40 AM] 331 Password required for mahle. COMMAND:> [8/31/2017 9:15:40 AM] PASS ***** [8/31/2017 9:15:40 AM] 230 User logged in. STATUS:> [8/31/2017 9:15:40 AM] Login successful. COMMAND:> [8/31/2017 9:15:40 AM] PWD [8/31/2017 9:15:41 AM] 257 "/" is current directory. STATUS:> [8/31/2017 9:15:41 AM] Home directory: / COMMAND:> [8/31/2017 9:15:41 AM] FEAT [8/31/2017 9:15:41 AM] Informational Message Only: 211-Extended features supported: LANG EN* UTF8 AUTH TLS;TLS-C;SSL;TLS-P; PBSZ PROT C;P; CCC HOST SIZE MDTM REST STREAM 211 END STATUS:> [8/31/2017 9:15:41 AM] This site supports features. STATUS:> [8/31/2017 9:15:41 AM] This site supports SIZE. STATUS:> [8/31/2017 9:15:41 AM] This site can resume broken downloads. COMMAND:> [8/31/2017 9:15:41 AM] REST 0 [8/31/2017 9:15:41 AM] 350 Restarting at 0. COMMAND:> [8/31/2017 9:15:41 AM] PASV [8/31/2017 9:15:41 AM] 227 Entering Passive Mode ([MY_PUBLIC_IP],231,178). COMMAND:> [8/31/2017 9:15:41 AM] LIST STATUS:> [8/31/2017 9:15:41 AM] Connecting FTP data socket... [MY_PUBLIC_IP]:59314... ERROR:> [8/31/2017 9:15:47 AM] The remote host actively refused the attempt to connect to it. 1) Verify that the destination server name or IP address is correct 2) Verify that the connection port number is correct (under Site Settings | Type tab). 3) The remote server may be temporarily or permanently inaccessible (try again later). 4) Verify that you have chosen the right protocol (SSH2, SSL, FTP, etc.) and have setup all required options for that protocol. 5) Verify that the destination IP address and port numbers are correct. 6) The remote server may be refusing multiple connections from the same client. Try using only one connection thread when connecting to this particular server (Site Settings | Options). 7) Try pinging the address. 8) If you are using a router, verify the router is up and running (check by pinging it and then ping an address outside of the router). 9) Do a traceroute to the destination to verify all routers along the connection path are operational. 10) Verify that your subnet mask is setup properly. 11) Verify that your local software or hardware firewall is not blocking outbound connections originating from CuteFTP. 12) Verify that your anti-virus software is not at fault (try disabling it). ERROR:> [8/31/2017 9:15:47 AM] PASV failed, trying PORT. STATUS:> [8/31/2017 9:15:47 AM] Waiting 0 seconds... STATUS:> [8/31/2017 9:15:48 AM] Getting listing "/"... STATUS:> [8/31/2017 9:15:48 AM] Resolving host name [MY_HOST_NAME]... STATUS:> [8/31/2017 9:15:48 AM] Host name [MY_HOST_NAME] resolved: ip = [MY_PUBLIC_IP]. STATUS:> [8/31/2017 9:15:48 AM] Connecting to FTP server... [MY_HOST_NAME]:21 (ip = [MY_PUBLIC_IP])... STATUS:> [8/31/2017 9:15:48 AM] Socket connected. Waiting for welcome message... [8/31/2017 9:15:48 AM] 220 Microsoft FTP Service STATUS:> [8/31/2017 9:15:48 AM] Connected. Authenticating... COMMAND:> [8/31/2017 9:15:48 AM] USER [MY_USERNAME] [8/31/2017 9:15:48 AM] 331 Password required for mahle. COMMAND:> [8/31/2017 9:15:48 AM] PASS ***** [8/31/2017 9:15:48 AM] 230 User logged in. STATUS:> [8/31/2017 9:15:48 AM] Login successful. COMMAND:> [8/31/2017 9:15:48 AM] PWD [8/31/2017 9:15:48 AM] 257 "/" is current directory. STATUS:> [8/31/2017 9:15:48 AM] Home directory: / STATUS:> [8/31/2017 9:15:48 AM] This site supports features. STATUS:> [8/31/2017 9:15:48 AM] This site supports SIZE. STATUS:> [8/31/2017 9:15:49 AM] This site can resume broken downloads. COMMAND:> [8/31/2017 9:15:49 AM] REST 0 [8/31/2017 9:15:49 AM] 350 Restarting at 0. COMMAND:> [8/31/2017 9:15:49 AM] PORT 192,168,0,15,205,186 [8/31/2017 9:15:49 AM] 200 PORT command successful. COMMAND:> [8/31/2017 9:15:49 AM] LIST [8/31/2017 9:15:49 AM] 125 Data connection already open; Transfer starting. [8/31/2017 9:15:49 AM] 226 Transfer complete. STATUS:> [8/31/2017 9:15:49 AM] Directory listing completed.
This is the log from FileZilla (this one doesn't connect)
Error: Directory listing aborted by user Status: Disconnected from server Status: Resolving address of [MY_HOST_NAME] Status: Connecting to [MY_PUBLIC_IP]:21... Status: Connection established, waiting for welcome message... Status: Insecure server, it does not support FTP over TLS. Status: Logged in Status: Retrieving directory listing... Command: PWD Response: 257 "/" is current directory. Command: TYPE I Response: 200 Type set to I. Command: PASV Response: 227 Entering Passive Mode ([MY_PUBLIC_IP],160,44). Command: LIST Response: 150 Opening BINARY mode data connection. Error: The data connection could not be established: ECONNREFUSED - Connection refused by server
Submitted August 31, 2017 at 08:15PM by mi_nombre_es_ricardo http://ift.tt/2xPptBs
Comments
Post a Comment