Recently I have launched an EC2 instance with WHM-cPanel. I have associated 5 EIP to the instance and assigned them for 5 different site in WHM panel. Sites are running good but connecting via FTP failed for secondary sites. I can connect in main site by domain or IP as hostname, but for all other sites, FileZilla is first able to logged in and then tries to connect with passive mode with response like
227 Entering Passive Mode (xx,xxx,xxx,xxx,214,117)
where xx,xxx,xxx,xxx
is my main site EIP and finally fails to show directory lists with response
Error: The data connection could not be established: ECONNREFUSED - Connection refused by server
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing'.
I have opened port range 49152-65535 from security groups rule but that doesn't work too.
Can anyone please help me to solve this issue?