zhangshenghang commented on PR #7865: URL: https://github.com/apache/seatunnel/pull/7865#issuecomment-2426957413
> please add test case I encountered a problem. Docker runs ftp in passive mode through the following command ```bash docker run -d \ --name ftp-server \ -p 20:20 \ -p 21:21 \ -p 990:990 \ -p 30000-30099:30000-30099 \ -e FTP_USER=admin \ -e FTP_PASS=admin \ -e PASV_ADDRESS=172.16.25.204 \ -e PASV_MIN_PORT=30000 \ -e PASV_MAX_PORT=30099 \ -v /data/data:/home/vsftpd \ fauria/vsftpd ``` Need to specify the `30000-30099:30000-30099` port range to reserve for passive mode. I tried many configuration methods through `private GenericContainer<?> ftpContainer;`, but it doesn't seem to support starting with reserved ports. You have to wait for all open ports to run successfully before ftpContainer can continue to run. <img width="882" alt="image" src="https://github.com/user-attachments/assets/f97dec9a-e1d3-41d4-a26e-92ac0c6125a0"> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
