docker-vsftpd icon indicating copy to clipboard operation
docker-vsftpd copied to clipboard

Unable to access using FileZilla

Open DiponRoy opened this issue 3 years ago • 0 comments

Here is my docker compose

version: "3.7"

services:
  ftp:
    image: fauria/vsftpd:latest
    container_name: Ftp
    restart: always
    environment:
      - FTP_USER=adminuser
      - FTP_PASS=adminpass
      - PASV_ADDRESS=127.0.0.1
      - PASV_MIN_PORT=21100
      - PASV_MAX_PORT=21110
    volumes:
      - ftp-data:/home/vsftpd
      - ftp-log-data:/var/log/vsftpd
    ports:
      - 20:20
      - 21:21
      - 21100-21110:21100-21110
    
volumes:
  ftp-data:
  ftp-log-data:

while trying to access using FileZilla its saying

Error:	Could not connect to server
Status:	Waiting to retry...
Status:	Connecting to 127.0.0.1:21...
Status:	Connection attempt failed with "ECONNREFUSED - Connection refused by server".

also tried with PASV_ADDR_RESOLVE=YES

I am running docker in Windows

DiponRoy avatar Jul 12 '22 14:07 DiponRoy