|
|
![]() |
|
Strumenti |
![]() |
#1 |
Bannato
Iscritto dal: Oct 2005
Messaggi: 1226
|
Server ftp con filezilla e xp Inaccessibile da remoto
salve ragazzi ho un serverino con modem usb.
quindi ha l'ip pubblico, è collegato alla rete domestica da locale rieso ad entrare in ftp, mentre da remoto no, se mi ci collego con un client ftp semopre come filezilla mi autentica col nome e password stabiliti ma non riesce a leggere il contenuto della cartella. infatti mi da il seguente errore: Comando: MLSD Risposta: 425 Can't open data connection. Errore: Non è stato possibile leggere il contenuto della cartella Risposta: 421 Connection timed out. Errore: Disconnesso dal server: ECONNABORTED - Connection aborted che cossa vorrà dire mai? ![]() |
![]() |
![]() |
![]() |
#2 |
Member
Iscritto dal: Jan 2009
Messaggi: 50
|
Allora, il problema di FTP è che usa DUE connessioni: una di "comando" per autenticazione e comandi (porta TCP 21) e una di "dati" usata effettivamente per il trasferimento dati: http://it.wikipedia.org/wiki/File_Transfer_Protocol
Questo causa GROSSI problemi quando si deve configurare un NAT/PAT oppure un firewall, quindi presumo che il problema sia nella configurazione di un eventuale firewall e/o del modem usb.
__________________
Io non doppioclicco! - http://www.soft-land.org/storie/08/story24 |
![]() |
![]() |
![]() |
#3 |
Moderatore
Iscritto dal: Nov 2006
Messaggi: 18783
|
FileZilla Server FAQ
1. I've just installed the server and after starting the interface, it asks for a server address. Despite administrating the server on the local machine, the interface can also be used to administrate remote servers. But you will most likely want to administrate your local server. In this case enter 127.0.0.1 as server address. For the server port, you have to enter the same port number you did specify during installation for the admin port. (default: 14147) 2. I'm behind a firewall and nobody can connect to my server or transfer files / directory listings You have to configure your firewall to allow incoming connections on the ftp port (default: 21), as well as allowing outgoing connections from the server. In FTP Active Mode, FileZilla Server tries to use a port one less than the ftp port for outgoing connections. If that fails it tries to use a port one larger than the ftp port and after that it requests a port from windows. It may be best to allow all outgoing connections from the server. Further you have to allow a port range for incoming connections for passive mode transfers. You can specify this port range on the "passive mode settings" page in the settings dialog in the server interface. In most cases, a range like 5000-5100 is sufficient. With certain firewalls, it may be possible that FileZilla can't determine the external IP address. In this case you have to enter the IP address (or your host name) on the passive mode page in the settings dialog. In case you've a dynamic IP (most dial-up users), you can also choose to retrieve the ip address from a website. 3. I'm behind a router and nobody can connect to my server or transfer files / directory listings You have to configure your router to forward the ftp port (default: 21) to the server machine. Further you have to forward a port range for passive mode transfers. You can specify this port range on the "passive mode settings" page in the settings dialog in the server interface. In most cases, a range like 5000-5100 is sufficient. Most likely, FileZilla can't determine the external IP address if behind a router. In this case you have to enter the IP address (or your host name) on the passive mode page in the settings dialog. In case you've a dynamic IP (most dial-up users), you can also choose to retrieve the ip address from a website. 4. I'm behind a router and a firewall and nobody can connect to my server or transfer files / directory listings Just follow both steps 2 and 3 in this case. 5. How can I enable anonymous logins? Just create an account with the name anonymous and make sure the password box isn't checked on that account. 6. How can I test that my server can be reached from the internet? It's not possible to check the accessibility of the server by connecting from inside the local network (or even localhost) by entering the external IP in a client. Reason is that most firewalls and/or routers only forward ports for requests coming from outside the internal network. So you would have to connect to your server from an external machine. You can test the accessibility of your server using the free service from http://ftptest.net/.
__________________
"WS" (p280,cx750m,4790k+212evo,z97pro,4x8GB ddr3 1600c11,GTX760-DC2OC,MZ-7TE500, WD20EFRX) Desktop (three hundred,650gq,3800x+nh-u14s ,x570 arous elite,2x16GB ddr4 3200c16, rx5600xt pulse P5 1TB)+NB: Lenovo p53 i7-9750H,64GB DDR4,2x1TB SSD, T1000 |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 10:09.