Skip to content

Commit 70b3b80

Browse files
committed
feat: разрешить подключение к FTP-контейнеру на портах 20000-20001
1 parent 13fdbbc commit 70b3b80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ func startFTPContainer(ctx context.Context) (testcontainers.Container, error) {
593593
"FTP_USER": "testuser",
594594
"FTP_PASS": "testpass",
595595
"PASV_ENABLE": "YES",
596-
"PASV_ADDRESS": "127.0.0.1",
596+
"PASV_ADDRESS": "0.0.0.0", // Use 0.0.0.0 to allow connections from any IP
597597
"PASV_MIN_PORT": "20000",
598598
"PASV_MAX_PORT": "20001",
599599
},

0 commit comments

Comments
 (0)