PHPStorm can't connect to ftp but filezilla can

Hi!

I'm having troubles connecting to my sites ftp server from the school network, it will hang on connecting and will never progress. Filezilla or any other ftp programs work just fine on this school network.

PHPStorm can also connect just fine on my home network but not on the school network for some reason...

It appears like ftp is blocked here but it wouldn't make any sense considering I can still access it via filezilla.

I'm using the external ip from the server in filezilla and phpstorm.

I'm just wondering what phpstorm does differently compared to other ftp programs to cause it to fail on the school network.

Any ideas?

 

1
8 comments
Avatar
Permanently deleted user

EDIT: it connects in passive mode, in active mode it gives the error : "could not list contents" after about 10 minutes of trying.

4

Hi there,

Please try switching between Active/Passive mode in FTP connection settings.

https://www.jetbrains.com/help/phpstorm/advanced-options-dialog.html

2

Hello, Anyone knows the answer?

I have exactly the same problem... no active passive mode changes that.

PHPstorm 2020.1.1

up!

1

Hard to say anything for sure without checking logs first, there could be plenty of reasons for failed connection.

What I can recommend is to enable the extended logging, reproduce the issue and check logs afterwards (Help > Show logs). If these are not explanatory or too complex, please contact the support with these logs attached.

To increase logging level please add the following lines to the "Help > Debug log settings" or "Help > Diagnostic tools > Debug log settings":

#com.jetbrains.plugins.webDeployment

#com.intellij.ssh

 

Logs can be collected via "Help > Compress logs and show" menu option.

0
Avatar
Permanently deleted user

The logs helped me. I was able to find this "421-Sorry, cleartext sessions and weak ciphers are not accepted on this server."
I changed from FTP to FTPS and I got in straight away.

I feel that logs from a server connection should be more transparent rather then hunting for them

1

Yeah, some sort of error message based on the prompts would help a lot. For example that 421 error and the message could be prompted in the popup error when you hit "Test connection"

0

Just gave it a thumbs up. I think that's the vote.

Btw, the resolution for this was to activate and deactivate passive mode. Maybe there was some caching and some settings on the server. Anyways, that worked for me

0

Please sign in to leave a comment.