PhpStorm fails to connect to FTP but FileZilla connects OK - ftp

I am using an FTP connection in PhpStorm for transferring files. With FileZilla I am able to connect easily but unable to connect via PhpStorm. I have set up a custom port for ftp. Below are the settings.
Log File
2022-08-25 16:47:57,755 [1925474] DEBUG - t.config.sockets.SocketWrapper - Default socket connection to /115.50.20.78:63425 10000
2022-08-25 16:47:59,882 [1927601] WARN - t.connections.RemoteConnection - Retrying
connecting to ftp://115.50.20.78:1125/ in #2fdca0a0: 1 iterations
org.apache.commons.vfs2.FileSystemException: Could not list the contents of folder
"ftp://116.58.28.78:1469/".
at
org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:1111)
at org.apache.commons.vfs2.provider.ftp.FtpFileObject.getChildren(FtpFileObject.java:436)
at org.apache.commons.vfs2.provider.AbstractFileObject.getChild(AbstractFileObject.java:1033)
at com.jetbrains.plugins.webDeployment.connections.RemoteConnectionPool.lambda$createConnection$0(RemoteConnectionPool.java:265)
at com.intellij.util.RunnableCallable.call(RunnableCallable.java:20)
at com.intellij.util.RunnableCallable.call(RunnableCallable.java:11)
at com.intellij.openapi.application.impl.ApplicationImpl$1.call(ApplicationImpl.java:265)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.net.ConnectException: Connection refused: connect
at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method)
at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.base/java.net.Socket.connect(Socket.java:609)
at com.jetbrains.plugins.webDeployment.config.sockets.SocketWrapper.connect(SocketWrapper.java:50)
at org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:920)
at org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:760)
at org.apache.commons.vfs2.provider.ftp.FTPExtendedClient.initiateMListParsing(FTPExtendedClient.java:47)
at org.apache.commons.vfs2.provider.ftp.FTPExtendedClient.mlistDir(FTPExtendedClient.java:29)
at org.apache.commons.vfs2.provider.ftp.FtpJBHelper.listFiles(FtpJBHelper.java:66)
at org.apache.commons.vfs2.provider.ftp.FTPClientWrapper.listFilesInDirectory(FTPClientWrapper.java:169)
at org.apache.commons.vfs2.provider.ftp.FTPClientWrapper.listFiles(FTPClientWrapper.java:151)
at org.apache.commons.vfs2.provider.ftp.FtpFileObject.doGetChildren(FtpFileObject.java:128)
at org.apache.commons.vfs2.provider.ftp.FtpFileObject.doListChildren(FtpFileObject.java:452)
at org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:1102)
... 14 more
2022-08-25 16:48:07,958 [1935677] WARN - t.connections.RemoteConnection - Connection cancelled to ftp://115.50.20.78:1125/ in #2fdca0a0
2022-08-25 16:48:07,958 [1935677] INFO - ains.plugins.webDeployment.ftp - java.net.SocketException: Socket closed
2022-08-25 16:48:11,708 [1939427] INFO - j.ide.actions.RevealFileAction - Exit code 1
PhpStorm Version
PhpStorm 2021.1.1
Build #PS-211.7036.8, built on April 15, 2021
Licensed to PhpStorm Evaluator
Expiration date: September 21, 2022
Runtime version: 11.0.10+9-b1341.35 amd64
VM: Dynamic Code Evolution 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1498M
Cores: 4
Registry: run.processes.with.pty=TRUE
Non-Bundled Plugins: io.zhile.research.ide-eval-resetter (2.3.5)
Update 1
So I have checked the server side and found the below logs on the FileZilla server
With Passive Mode
(000056)8/25/2022 22:50:23 PM - (not logged in) (192.168.80.220)> Connected, sending welcome message...
(000056)8/25/2022 22:50:23 PM - (not logged in) (192.168.80.220)> 220-FileZilla Server version 0.9.41 beta
(000056)8/25/2022 22:50:23 PM - (not logged in) (192.168.80.220)> 220-written by Tim Kosse (Tim.Kosse#gmx.de)
(000056)8/25/2022 22:50:23 PM - (not logged in) (192.168.80.220)> 220 Please visit http://sourceforge.net/projects/filezilla/
(000056)8/25/2022 22:50:23 PM - (not logged in) (192.168.80.220)> USER app
(000056)8/25/2022 22:50:23 PM - (not logged in) (192.168.80.220)> 331 Password required for app
(000056)8/25/2022 22:50:23 PM - (not logged in) (192.168.80.220)> PASS *********
(000056)8/25/2022 22:50:23 PM - app (192.168.80.220)> 230 Logged on
(000056)8/25/2022 22:50:23 PM - app (192.168.80.220)> TYPE I
(000056)8/25/2022 22:50:23 PM - app (192.168.80.220)> 200 Type set to I
(000056)8/25/2022 22:50:24 PM - app (192.168.80.220)> SYST
(000056)8/25/2022 22:50:24 PM - app (192.168.80.220)> 215 UNIX emulated by FileZilla
(000056)8/25/2022 22:50:24 PM - app (192.168.80.220)> PASV
(000056)8/25/2022 22:50:24 PM - app (192.168.80.220)> 227 Entering Passive Mode (192,168,20,1,237,90)
(000056)8/25/2022 22:50:27 PM - app (192.168.80.220)> QUIT
(000056)8/25/2022 22:50:27 PM - app (192.168.80.220)> 221 Goodbye
(000056)8/25/2022 22:50:27 PM - app (192.168.80.220)> disconnected.
(000057)8/25/2022 22:50:28 PM - (not logged in) (192.168.80.220)> Connected, sending welcome message...
(000057)8/25/2022 22:50:28 PM - (not logged in) (192.168.80.220)> 220-FileZilla Server version 0.9.41 beta
(000057)8/25/2022 22:50:28 PM - (not logged in) (192.168.80.220)> 220-written by Tim Kosse (Tim.Kosse#gmx.de)
(000057)8/25/2022 22:50:28 PM - (not logged in) (192.168.80.220)> 220 Please visit http://sourceforge.net/projects/filezilla/
(000057)8/25/2022 22:50:28 PM - (not logged in) (192.168.80.220)> USER app
(000057)8/25/2022 22:50:28 PM - (not logged in) (192.168.80.220)> 331 Password required for app
(000057)8/25/2022 22:50:28 PM - (not logged in) (192.168.80.220)> PASS *********
(000057)8/25/2022 22:50:28 PM - app (192.168.80.220)> 230 Logged on
(000057)8/25/2022 22:50:28 PM - app (192.168.80.220)> TYPE I
(000057)8/25/2022 22:50:28 PM - app (192.168.80.220)> 200 Type set to I
(000057)8/25/2022 22:50:28 PM - app (192.168.80.220)> SYST
(000057)8/25/2022 22:50:28 PM - app (192.168.80.220)> 215 UNIX emulated by FileZilla
(000057)8/25/2022 22:50:28 PM - app (192.168.80.220)> PASV
(000057)8/25/2022 22:50:28 PM - app (192.168.80.220)> 227 Entering Passive Mode (192,168,20,1,237,91)
(000057)8/25/2022 22:50:40 PM - app (192.168.80.220)> PASV
(000057)8/25/2022 22:50:40 PM - app (192.168.80.220)> 227 Entering Passive Mode (192,168,20,1,237,92)
(000057)8/25/2022 22:50:50 PM - app (192.168.80.220)> QUIT
(000057)8/25/2022 22:50:50 PM - app (192.168.80.220)> 221 Goodbye
(000057)8/25/2022 22:50:50 PM - app (192.168.80.220)> disconnected.
Without Passive Mode
(000062)8/25/2022 22:56:38 PM - (not logged in) (192.168.80.220)> Connected, sending welcome message...
(000062)8/25/2022 22:56:38 PM - (not logged in) (192.168.80.220)> 220-FileZilla Server version 0.9.41 beta
(000062)8/25/2022 22:56:38 PM - (not logged in) (192.168.80.220)> 220-written by Tim Kosse (Tim.Kosse#gmx.de)
(000062)8/25/2022 22:56:38 PM - (not logged in) (192.168.80.220)> 220 Please visit http://sourceforge.net/projects/filezilla/
(000062)8/25/2022 22:56:39 PM - (not logged in) (192.168.80.220)> USER app
(000062)8/25/2022 22:56:39 PM - (not logged in) (192.168.80.220)> 331 Password required for app
(000062)8/25/2022 22:56:39 PM - (not logged in) (192.168.80.220)> PASS *********
(000062)8/25/2022 22:56:39 PM - app (192.168.80.220> 230 Logged on
(000062)8/25/2022 22:56:39 PM - app (192.168.80.220)> TYPE I
(000062)8/25/2022 22:56:39 PM - app (192.168.80.220)> 200 Type set to I
(000062)8/25/2022 22:56:39 PM - app (192.168.80.220)> SYST
(000062)8/25/2022 22:56:39 PM - app (192.168.80.220)> 215 UNIX emulated by FileZilla
(000062)8/25/2022 22:56:39 PM - app (192.168.80.220)> PORT 192,168,43,189,230,71
(000062)8/25/2022 22:56:39 PM - app (192.168.80.220)> 200 Port command successful
(000062)8/25/2022 22:56:40 PM - app (192.168.80.220)> LIST
(000062)8/25/2022 22:56:40 PM - app (192.168.80.220)> 150 Opening data channel for directory list.
(000062)8/25/2022 22:56:50 PM - app (192.168.80.220)> QUIT
(000062)8/25/2022 22:56:50 PM - app (192.168.80.220)> 425 Can't open data connection.
(000062)8/25/2022 22:56:50 PM - app (192.168.80.220)> 221 Goodbye
(000062)8/25/2022 22:56:50 PM - app (192.168.80.220)> disconnected.
Already tried with Passive Mode and Always use LIST command but still no luck.

Related

Error while starting Admin server on WebLogic 12c server

After starting the Node Manager when I'm going to start the startWeblogic.sh this happens and the server failed to start. (username, password is correct)
Starting WLS with line:
/home/app/oracle/java/jdk1.8.0_171/bin/java -server -Xms256m -Xmx512m -XX:CompileThreshold=8000 -cp /home/12c/app/oracle/product/12.2.1/wlserver/server/lib/weblogic-launcher.jar -Dlaunch.use.env.classpath=true -Dweblogic.Name=AdminServer -Djava.security.policy=/home/12c/app/oracle/product/12.2.1/wlserver/server/lib/weblogic.policy -Djava.system.class.loader=com.oracle.classloader.weblogic.LaunchClassLoader -javaagent:/home/12c/app/oracle/product/12.2.1/wlserver/server/lib/debugpatch-agent.jar -da -Dwls.home=/home/12c/app/oracle/product/12.2.1/wlserver/server -Dweblogic.home=/home/12c/app/oracle/product/12.2.1/wlserver/server -Dweblogic.management.username=weblogic -Dweblogic.management.password=mydomain123 weblogic.Server
<Nov 5, 2020 10:59:22 PM IST> <Disabling the CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true.>
<Nov 5, 2020 10:59:22 PM IST> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG128 to HMACDRBG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true.>
<Nov 5, 2020 10:59:23 PM IST> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 25.171-b11 from Oracle Corporation.>
<Nov 5, 2020 10:59:23 PM IST> <"ResourceManagement" is not enabled in this JVM. Enable "ResourceManagement" to use the WebLogic Server "Resource Consumption Management" feature. To enable "ResourceManagement", you must specify the following JVM options in the WebLogic Server instance in which the JVM runs: -XX:+UnlockCommercialFeatures -XX:+ResourceManagement.>
<Nov 5, 2020 10:59:23 PM IST> <Version: WebLogic Server 12.2.1.3.0 Thu Aug 17 13:39:49 PDT 2017 1882952>
<Nov 5, 2020 11:01:59 PM IST>
<Nov 5, 2020 11:01:59 PM IST>
<Nov 5, 2020 11:01:59 PM IST> <CMM memory level becomes 0. Setting standby thread pool size to 256.>
<Nov 5, 2020 11:02:00,625 PM IST>
<Nov 5, 2020 11:02:01,159 PM IST>
<Nov 5, 2020 11:02:01,719 PM IST>
<Nov 5, 2020 11:02:03,669 PM IST>
<Nov 5, 2020 11:02:03,692 PM IST>
<Nov 5, 2020 11:02:03,732 PM IST> <Server subsystem failed. Reason: A MultiException has 6 exceptions. They are:
weblogic.security.SecurityInitializationException: Authentication for user weblogic denied.
java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.security.SecurityService
java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.jndi.internal.RemoteNamingService errors were found
java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.jndi.internal.RemoteNamingService
java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.deployment.DeploymentRegistrationService errors were found
java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.deployment.DeploymentRegistrationService
A MultiException has 6 exceptions. They are:
weblogic.security.SecurityInitializationException: Authentication for user weblogic denied.
java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.security.SecurityService
java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.jndi.internal.RemoteNamingService errors were found
java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.jndi.internal.RemoteNamingService
java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.deployment.DeploymentRegistrationService errors were found
java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.deployment.DeploymentRegistrationService
at org.jvnet.hk2.internal.Collector.throwIfErrors(Collector.java:89)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:250)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:358)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)
Truncated. see log file for complete stacktrace
Caused By: weblogic.security.SecurityInitializationException: Authentication for user weblogic denied.
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:1158)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.postInitialize(CommonSecurityServiceManagerDelegateImpl.java:1272)
at weblogic.security.service.SecurityServiceManager.postInitialize(SecurityServiceManager.java:586)
at weblogic.security.SecurityService.start(SecurityService.java:130)
at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
Truncated. see log file for complete stacktrace
Caused By: javax.security.auth.login.FailedLoginException: [Security:090938]Authentication failure: The specified user failed to log in. javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User specified user denied
at com.bea.common.security.utils.ExceptionHandler.throwFailedLoginException(ExceptionHandler.java:62)
at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:380)
at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:117)
at java.security.AccessController.doPrivileged(Native Method)
at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:114)
Truncated. see log file for complete stacktrace
<Nov 5, 2020 11:02:03,760 PM IST>
<Nov 5, 2020 11:02:03,760 PM IST>
<Nov 5, 2020 11:02:03,763 PM IST>
Stopping Derby server...
Derby server stopped.
Any help would be great. Thanks!
1)Open a cmd and paste this :
MKDIR C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\AdminServer\security
echo username=weblogic> C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\AdminServer\security\boot.properties
echo password=YOUR_WEBLOGIC_PASSWORD>> C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\AdminServer\security\boot.properties
MKDIR C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\WLS_FORMS\security
echo username=weblogic> C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\WLS_FORMS\security\boot.properties
echo password=YOUR_WEBLOGIC_PASSWORD>> C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\WLS_FORMS\security\boot.properties
2)Open folder C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\AdminServer\security.
And open the boot.properties file.
3)Enter your weblogic password and insure that there are no spaces after it.
Save the file and rerun your weblogic server
Hello this is santosh kumar and I have resolved the problem
Steps
Rename the file name "ldap" to "ldap_bkp"
C:\Oracle\Middleware\user_projects\domains\ClassicDomain\servers\AdminServer\data\
Copy the location path of ldap field:
"C:\Oracle\Middleware\user_projects\domains\ClassicDomain\servers\AdminServer\data\"
Open command prompt in administration mode
it will open like this "c:\Windows\system32>" as bellow:
c:\Windows\system32> cd C:\Oracle\Middleware\user_projects\domains\ClassicDomain\bin press enter
c:\Windows\system32> cd C:\Oracle\Middleware\user_projects\domains\ClassicDomain\bin> set DomainEnv.cmd
c:\Windows\system32> cd C:\Oracle\Middleware\user_projects\domains\ClassicDomain> -- disappear bin
c:\Windows\system32> cd C:\Oracle\Middleware\user_projects\domains\ClassicDomain> cd C:\Oracle\Middleware\user_projects\domains\ClassicDomain\security press enter
c:\Oracle\Middleware\user_projects\domains\ClassicDomain\security> java weblogic.sercurity.utils.AdminAccount weblogic weblogic123 press enter -- (weblogic user and pass "weblogic and weblogic123")
c:\Oracle\Middleware\user_projects\domains\ClassicDomain\security>cd.. press enter
c:\Oracle\Middleware\user_projects\domains\ClassicDomain>cd servers\AdminServer\security
c:\Oracle\Middleware\user_projects\domains\ClassicDomain\servers\AdminServer\security>notepad boot.properties
It will open file in notepad if file is blanck write there password and username like. If contents availabale edit the user and password as new (see below) and then save and exit notepad:
password=weblogic123
username=weblogic
In the command prompt in administration mode type: C:\Oracle\Middleware\user_projects\domains\ClassicDomain\servers\AdminServer\security> cd C:\Oracle\Middleware\user_projects\domains\ClassicDomain\bin press enter
In the command prompt in administration mode type: C:\Oracle\Middleware\user_projects\domains\ClassicDomain\bin>startWeblogic.cmd press enter
It will run with default loging and password : weblogic/weblogic123.

Sublime FTPS Can't Validate Folder

Issue: When trying to connect to my server through Sublime SFTP Plugin using the supported FTPS method, everything seems to go smoothly except for the validation of the folder.
I have searched all over for a recourse to resolve this issue to no avail.
The strange part is when I look at my FileZilla Server Logs it seems to connect to the server just fine but the connection ends when it goes into PASV mode.
Below are the logs from the server:
(000056)5/16/2017 21:15:50 PM - (not logged in) (73.102.144.11)>
Connected on port 21, sending welcome message...
(000056)5/16/2017 21:15:50 PM - (not logged in) (73.102.144.11)>
220-FileZilla Server 0.9.60 beta
(000056)5/16/2017 21:15:50 PM - (not logged in) (73.102.144.11)> 220
Welcome to the Collab Server
(000056)5/16/2017 21:15:50 PM - (not logged in) (73.102.144.11)> AUTH
TLS
(000056)5/16/2017 21:15:50 PM - (not logged in) (73.102.144.11)> 234
Using authentication type TLS
(000056)5/16/2017 21:15:50 PM - (not logged in) (73.102.144.11)> TLS
connection established
(000056)5/16/2017 21:15:51 PM - (not logged in) (73.102.144.11)> USER
msechrest
(000056)5/16/2017 21:15:51 PM - (not logged in) (73.102.144.11)> 331
Password required for msechrest
(000056)5/16/2017 21:15:51 PM - (not logged in) (73.102.144.11)> PASS
(000056)5/16/2017 21:15:51 PM - msechrest (73.102.144.11)> 230 Logged
on
(000056)5/16/2017 21:15:51 PM - msechrest (73.102.144.11)> PBSZ 0
(000056)5/16/2017 21:15:51 PM - msechrest (73.102.144.11)> 200 PBSZ=0
(000056)5/16/2017 21:15:51 PM - msechrest (73.102.144.11)> PROT P
(000056)5/16/2017 21:15:51 PM - msechrest (73.102.144.11)> 200
Protection level set to P
(000056)5/16/2017 21:15:52 PM - msechrest (73.102.144.11)> PWD
(000056)5/16/2017 21:15:52 PM - msechrest (73.102.144.11)> 257 "/" is
current directory.
(000056)5/16/2017 21:15:52 PM - msechrest (73.102.144.11)> CWD
/laravel/collabsession
(000056)5/16/2017 21:15:52 PM - msechrest (73.102.144.11)> 250 CWD
successful. "/laravel/collabsession" is current directory.
(000056)5/16/2017 21:15:52 PM - msechrest (73.102.144.11)> TYPE I
(000056)5/16/2017 21:15:52 PM - msechrest (73.102.144.11)> 200 Type
set to I
(000056)5/16/2017 21:15:52 PM - msechrest (73.102.144.11)> PASV
(000056)5/16/2017 21:15:52 PM - msechrest (73.102.144.11)> 227
Entering Passive Mode (127,0,0,1,55,249)
(000056)5/16/2017 21:15:53 PM - msechrest (73.102.144.11)>
disconnected.
Additional Information
I can connect to the server fine using FileZilla Client from another desktop.
The server is on a Windows 10 AWS and has an elastic IP address.
I have opened port 21 for both the inbound and outbound rules on the firewall as well as added the program FileZilla Server as an exception in the inbound rules.
I went onto the AWS Admin Panel and added all of the ports (21, 990, and 14200 - 14400) to my inbound rules. 14200 - 14400 are the passive mode port ranges I specified on the FileZilla Server Admin Panel.
Could someone please point me in the right direction or let me know what I am doing wrong? Any help is greatly appreciated!
SFTP vs. FTPS
In regards to how easy each of the secure FTP protocols are to
implement, SFTP is the clear winner since it is very firewall
friendly. SFTP only needs a single port number (default of 22) to be
opened through the firewall. This port will be used for all SFTP
communications, including the initial authentication, any commands
issued, as well as any data transferred.
On the other hand, FTPS can be very difficult to patch through a
tightly secured firewall since FTPS uses multiple port numbers. The
initial port number (default of 21) is used for authentication and
passing any commands. However, every time a file transfer request
(get, put) or directory listing request is made, another port number
needs to be opened. You and your trading partners will therefore have
to open a range of ports in your firewalls to allow for FTPS
connections, which can be a security risk for your network.
If you are using FTPS, you will face this issue based on the comments above.
The initial port number (default of 21) is used for authentication and passing any commands. However, every time a file transfer request (get, put) or directory listing request is made, another port number needs to be opened.
The most secure option is to use SFTP instead of FTPS.

Having trouble with LFTP. Socket error when Connecting to Firezilla

I have a bash script that I am trying to run on my hostgator account.
cd $HOMEDIR
dir="$(date +'%a')"
# Upload backups (5 tries)
i=0
while [ $i -le 5 ]; do
# We're running this more than once so it's advised to use -E to delete the
# original file after successful transfer.
lftp -d -e "set ftp:ssl-allow no; mrm backup-*.tar.gz; mput -c -E -O $dir backup-*.tar.gz;quit" -u $FTP_USER,$FTP_PASS -p $FTP_PORT $FTP_ADDR
sleep 5
((i++))
done
# Delete backup before generating new b/c hostgator allows only one
rm backup-*.tar.gz
# Generate new full backup in Cpanel
PARAMS="dest=homedir&email=$EMAIL&submit=Generate%20Backup"
curl -u $CPANEL_USER:$CPANEL_PASS --data $PARAMS $CPANEL_HOST/frontend/x3/backup/dofullbackup.html
The above script leaves me with the error code below from the client side (hostgator):
---> FEAT
<--- 211-Features:
<--- MDTM
<--- REST STREAM
<--- SIZE
<--- MLST type*;size*;modify*;
<--- MLSD
<--- AUTH SSL
<--- AUTH TLS
<--- PROT
<--- PBSZ
<--- UTF8
<--- CLNT
<--- MFMT
<--- EPSV
<--- EPRT
<--- 211 End
---> CLNT lftp/4.0.9
<--- 200 Don't care
---> OPTS UTF8 ON
<--- 202 UTF8 mode is always enabled. No need to send this command.
---> USER emre**
<--- 331 Password required for emre**
---> PASS *******
<--- 230 Logged on
---> PWD
<--- 257 "/" is current directory.
---> TYPE I
<--- 200 Type set to I
---> SIZE Fri/backup-6.17.2016_08-40-54_emre.tar.gz
<--- 550 File not found
---> PASV
<--- 227 Entering Passive Mode (**,***,**,**,199,56)
---- Connecting data socket to (**.***.**.**) port 51000
**** Socket error (Connection refused) - reconnecting
---- Closing data socket
---- Closing control socket
The server system is firezilla running on windows 10.
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> Connected on port 2222, sending welcome message...
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> 220-FileZilla Server 0.9.57 beta
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> 220-written by Tim Kosse (tim.kosse#filezilla-project.org)
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> 220 Please visit https://filezilla-project.org/
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> FEAT
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> 211-Features:
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> MDTM
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> REST STREAM
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> SIZE
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> MLST type*;size*;modify*;
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> MLSD
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> AUTH SSL
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> AUTH TLS
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> PROT
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> PBSZ
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> UTF8
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> CLNT
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> MFMT
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> EPSV
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> EPRT
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> 211 End
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> CLNT lftp/4.0.9
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> 200 Don't care
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> OPTS UTF8 ON
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> 202 UTF8 mode is always enabled. No need to send this command.
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> USER emre**
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> 331 Password required for emre**
(000017)6/17/2016 19:01:11 PM - (not logged in) (***.***.***.**)> PASS ********
(000017)6/17/2016 19:01:11 PM - emre** (***.***.***.**)> 230 Logged on
(000017)6/17/2016 19:01:11 PM - emre** (***.***.***.**)> PWD
(000017)6/17/2016 19:01:11 PM - emre** (***.***.***.**)> 257 "/" is current directory.
(000017)6/17/2016 19:01:11 PM - emre** (***.***.***.**)> PASV
(000017)6/17/2016 19:01:11 PM - emre** (***.***.***.**)> 227 Entering Passive Mode (76,100,88,71,199,56)
(000017)6/17/2016 19:01:11 PM - emre** (***.***.***.**)> LIST
(000017)6/17/2016 19:01:11 PM - emre** (***.***.***.**)> ABOR
(000017)6/17/2016 19:01:11 PM - emre** (***.***.***.**)> 226 ABOR command successful
(000017)6/17/2016 19:01:11 PM - emre** (***.***.***.**)> disconnected.
I don't know what is going on? Can anyone send some light? I've been digging for hours now and cannot figure it out.

Server returned unroutable private IP address in PASV reply

Trying to set-up FileZilla to connect to my FTP but am having one bugger of a time. I keep getting this error:
Server returned unroutable private IP address in PASV reply - I have passive enabled in FZ and have tried to set the IP address there as the IP of the PC with FZ Server installed as well as my IP from my ISP but both present the below issue!
Below is the log, can someone more apt to use FileZilla assist me on how to change this?
000008)7/11/2014 23:45:59 PM - (not logged in) (213.239.212.239)> Connected, sending welcome message...
(000008)7/11/2014 23:45:59 PM - (not logged in) (213.239.212.239)> 220-FileZilla Server version 0.9.45 beta
(000008)7/11/2014 23:45:59 PM - (not logged in) (213.239.212.239)> 220 Hello and welcome to FileZilla
(000008)7/11/2014 23:46:04 PM - (not logged in) (213.239.212.239)> CLNT https://ftptest.net on behalf of 96.32.136.77
(000008)7/11/2014 23:46:04 PM - (not logged in) (213.239.212.239)> 200 Don't care
(000008)7/11/2014 23:46:04 PM - (not logged in) (213.239.212.239)> USER js
(000008)7/11/2014 23:46:04 PM - (not logged in) (213.239.212.239)> 331 Password required for js
(000008)7/11/2014 23:46:05 PM - (not logged in) (213.239.212.239)> PASS ******
(000008)7/11/2014 23:46:05 PM - js (213.239.212.239)> 230 Logged on
(000008)7/11/2014 23:46:05 PM - js (213.239.212.239)> SYST
(000008)7/11/2014 23:46:05 PM - js (213.239.212.239)> 215 UNIX emulated by FileZilla
(000008)7/11/2014 23:46:06 PM - js (213.239.212.239)> FEAT
(000008)7/11/2014 23:46:06 PM - js (213.239.212.239)> 211-Features:
(000008)7/11/2014 23:46:06 PM - js (213.239.212.239)> MDTM
(000008)7/11/2014 23:46:06 PM - js (213.239.212.239)> REST STREAM
(000008)7/11/2014 23:46:06 PM - js (213.239.212.239)> SIZE
(000008)7/11/2014 23:46:06 PM - js (213.239.212.239)> MLST type*;size*;modify*;
(000008)7/11/2014 23:46:06 PM - js (213.239.212.239)> MLSD
(000008)7/11/2014 23:46:06 PM - js (213.239.212.239)> UTF8
(000008)7/11/2014 23:46:06 PM - js (213.239.212.239)> CLNT
(000008)7/11/2014 23:46:06 PM - js (213.239.212.239)> MFMT
(000008)7/11/2014 23:46:06 PM - js (213.239.212.239)> 211 End
(000008)7/11/2014 23:46:06 PM - js (213.239.212.239)> PWD
(000008)7/11/2014 23:46:06 PM - js (213.239.212.239)> 257 "/" is current directory.
(000008)7/11/2014 23:46:07 PM - js (213.239.212.239)> TYPE I
(000008)7/11/2014 23:46:07 PM - js (213.239.212.239)> 200 Type set to I
(000008)7/11/2014 23:46:07 PM - js (213.239.212.239)> PASV
(000008)7/11/2014 23:46:07 PM - js (213.239.212.239)> 227 Entering Passive Mode (192,168,1,58,202,143)
(000008)7/11/2014 23:46:07 PM - js (213.239.212.239)> disconnected.

Selenium Grid - Remote Controls always being unregistered by hub

I have Selenium Grid 1.0.8 running well with the hub and several remote controls on the same machine. My testNG tests all run successfully.
When I start a remote control on a different machine, everything initially appears to be fine. The hub console shows the remote control to be available with the default environment "*firefox".
However, when I run the tests (still on the hub machine), the remote controls on the other box never work properly. They keep getting deregistered from the hub.
I've disabled the firewalls and I can ping betweeen the two boxes. Has anyone encountered similar issues?
The Remote Control Log:
[java] 21:34:19.479 WARN - Hub at http://192.168.1.129:4444/heartbeat?host=localhost&port=5539 does not have us as registered
[java] 21:34:49.496 INFO - Checking connection to hub...
[java] 21:34:49.496 INFO - Ping Hub at http://192.168.1.129:4444/heartbeat?host=localhost&port=5539
The hub log:
[java] INFO: Garbage collecting unavailable RCs and stale sessions...
[java] Jun 16, 2011 9:39:52 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[java] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[java] Jun 16, 2011 9:39:52 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[java] INFO: Retrying request
[java] Jun 16, 2011 9:39:52 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[java] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[java] Jun 16, 2011 9:39:52 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[java] INFO: Retrying request
[java] Jun 16, 2011 9:39:52 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[java] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[java] Jun 16, 2011 9:39:52 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[java] INFO: Retrying request
Are you passing the correct host value when you register your node? In order to deal with proxies properly, the node must provide a routable hostname to that node when registering with the hub. Without this value, the hub will be unable to communicate with the node and will unregister it.

Resources