SOLVED FTP - host access control issue.

Samet Chan

Well-Known Member
Jun 24, 2016
369
42
153
cPanel Access Level
Root Administrator
Twitter
Hi,

Can you provide us with the output of the below commands:
# cat /etc/hosts.allow
# cat /etc/hosts.deny
Deny isn't show IP there.

Allow it shows IP there.
cpaneld : ALL EXCEPT MyIPAddress : deny
whostmgrd : ALL EXCEPT MyIPAddress : deny
sshd : ALL EXCEPT MyIPAddress : deny
ftp : ALL EXCEPT RandomIP : deny


FTP in another IP test. I try a test to connect to ftp was successful. It is doesn't work firewall.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
  • Like
Reactions: Samet Chan

Samet Chan

Well-Known Member
Jun 24, 2016
369
42
153
cPanel Access Level
Root Administrator
Twitter
I tried to find mod_wrap was not found from EA4.


EDIT: Never mind, I follow this cPanel documentation was helpfully and solved my problem. It works! :)

Status: Connecting to 127.0.0.1:21...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Command: USER USERNAME
Response: 331 Password required for USERNAME
Command: PASS ************************************************************************************************************************************************************************************************************************************************************************************************************************************
Response: 530 Access denied
Error: Critical error: Could not connect to server
Just testing from 127.0.0.1 IP added on HAC = Host Access Control. It works fine! I changed to my IP Real allowed from FTP works fine now.

Thank you! :)
 
Last edited: