Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't access my FTP from outside #186

Open
Richacinas opened this issue Oct 3, 2022 · 2 comments
Open

Can't access my FTP from outside #186

Richacinas opened this issue Oct 3, 2022 · 2 comments

Comments

@Richacinas
Copy link

Hi there,

My docker pure-ftpd setup has been working for a long time, however, I don't know what happened that I'm not able to access it anymore.

Here is my config:

ftp:
    image: stilliard/pure-ftpd
    container_name: ftp
    ports:
      - "21:21"
      - "30000-30009:30000-30009"
    environment:
      PUBLICHOST: <here the public IP of my server>
      FTP_USER_NAME: user
      FTP_USER_PASS: password
      FTP_USER_HOME: /var/www/html/my_website_folder
      FTP_USER_UID: 100
      FTP_USER_GID: 101
    volumes:
      - ./data/wordpress:/var/www/html/my_website_folder
      - ./data/ftp:/etc/ssl/privatec
    restart: unless-stopped

And here is the resulting opened ports on my Ubuntu server:

OnPaste 20221003-123027

Of course, when I try to connect via ftp client using my credentials (user/password), it just gets a timeout.

@Richacinas
Copy link
Author

If, from my host Ubuntu machine, I do:

 ftp -p localhost 21

I can use my user credentials and connect properly.

@Warfront1
Copy link

This issue is possibly related to the following issue.
#149

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants