SSH with key OK, but impossible to connect to WHM/cPanel

aolbrechts

Active Member
Feb 24, 2016
26
1
3
Belgium
cPanel Access Level
Root Administrator
Hello,

I'm getting crazy here ;-)

I can access my server via command line using a SSH key with no issue.
But impossible to login on WHM (2087) nor cPanel (2083)
I've done some other tests on a mobile internet connection and it works, so I guess it comes from my IP. But the IP isn't blocked in the CSF since I can access the server, the web sites on it, etc. I've also disabled the CSF firewall and still doesn't work.

I haven't got a clue.
I restarted the cpanel service, I restarted the ssh service.

Any ideas ??

Thanks,
Antoine
 

sparek-3

Well-Known Member
Aug 10, 2002
2,154
269
388
cPanel Access Level
Root Administrator
Are you behind a firewall that is blocking outbound connections to port 2087? Is your ISP blocking outbound connections to these ports? Are you accessing this from a residential Internet connection or through a corporate or business Internet connection?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello,

Try accessing cPanel or WHM over a proxy subdomain URL (e.g. cpanel.domain.tld) to verify if it works over port 80. If so, it's possible your ISP is blocking the cPanel/WHM ports.

Thank you.