Arama Yap Mesaj Submit
Request a Callback
+90
X
X

Select Your Currency

Turkish Lira $ US Dollar Euro
X
X

Select Your Currency

Turkish Lira $ US Dollar Euro

Contact Us

Location Halkali merkez neighborhood fatih st ozgur apt no 46 , Kucukcekmece , Istanbul , 34303 , TR
WHM Port 2087 Not Working: Check cpsrvd and Firewall | Eka Server
WHM ACCESS TROUBLESHOOTING

WHM Port 2087 Is Not Opening: DNS, cpsrvd, Firewall and TLS Diagnosis

A failed direct connection to WHM port 2087 does not always mean that cPanel is down. whm.example.com can use a service subdomain over port 443, while example.com:2087 connects directly to the cpsrvd socket. DNS, TCP reachability, TLS, cpsrvd, CSF and cPHulk must therefore be tested independently.

2087/TLSDirect secure WHM port
443/TLSService-subdomain proxy access
cpsrvdWeb daemon for cPanel, WHM and Webmail
/whmService alias or SSL redirect
01
DIAGNOSIS

Separate the symptoms by technical layer

The same error screen can originate from different services. Separate network reachability, service state, firewall policy and authentication before changing anything.

whm.example.com works

The service subdomain over 443 can work while direct 2087 traffic is blocked.

example.com:2087 times out

TCP traffic may be filtered or the hostname may resolve to the wrong address.

Connection refused

The host is reachable but cpsrvd is not listening on 2087, or an active reject rule is applied.

A certificate warning appears

The port is reachable; investigate the hostname certificate, SNI or service SSL layer.

02
ROOT CAUSE

Investigate the most likely causes in risk order

Instead of disabling the entire protection stack, prove which rule blocks access and change only the required scope.

High

Port 2087 is closed in CSF

TCP_IN can drop direct WHM traffic while the 443 proxy path remains available.

High

cpsrvd is stopped or not bound to 2087

Both ss and the local curl test fail when the cPanel web daemon is unavailable.

Medium

Hostname DNS points to the wrong server

A working /whm alias on another domain can hide an incorrect A or AAAA record.

Medium

cPHulk or Host Access Control block

The source may be denied specifically for WHM or SSH services.

03
SAFE REMEDIATION FLOW

Apply each step in order and keep it reversible

Back up the current configuration, validate syntax and keep a second administration session open before every service or firewall change.

01

Match DNS to the target server

Compare A and AAAA records with the main server address and do not overlook stale IPv6.

02

Check the listening socket

Confirm that the cpsrvd/cpanel process owns port 2087 on the expected interface.

03

Send a local HTTPS request

A response from 127.0.0.1:2087 proves the daemon works and shifts focus to firewall or routing.

04

Restart cpsrvd safely

Use the supported restartsrv_cpsrvd script and inspect the cPanel error log.

05

Inspect firewall and login protection

Search CSF, cPHulk and Host Access Control for the administrator address and port 2087.

06

Compare direct and proxy paths

Test https://IP:2087, https://hostname:2087 and https://whm.example.com separately.

04
COMMANDS

Run commands as root and replace sample values

Replace example IP addresses, ports and paths with your own values. Review command output before moving to the next step.

Check DNS and connectivity
getent ahosts server.example.com
dig +short A server.example.com
dig +short AAAA server.example.com
curl -vkI --connect-timeout 10 https://server.example.com:2087/
Test cpsrvd locally
ss -lntp | grep ':2087[[:space:]]'
curl -kI --connect-timeout 10 https://127.0.0.1:2087/
ps aux | grep '[c]psrvd'
Restart cpsrvd
/usr/local/cpanel/scripts/restartsrv_cpsrvd --restart
systemctl status cpanel --no-pager -l
tail -n 100 /usr/local/cpanel/logs/error_log
Search firewall and IP policy
csf -g 2087
csf -g 203.0.113.10
whmapi1 --output=jsonpretty cphulk_status
Risk of administrative lockout

A wrong firewall, SSH or login-protection rule can make the server unreachable. Do not close management ports without KVM, VNC or provider console access.

05
FREQUENTLY ASKED QUESTIONS

Critical decision points

Why does /whm work while :2087 fails?

The /whm alias or WHM service subdomain can use the port 443 proxy path. Direct 2087 traffic follows a separate firewall rule.

Is cpsrvd only used by WHM?

No. cpsrvd serves cPanel, WHM, Webmail and additional cPanel service interfaces.

IP:2087 works but hostname:2087 fails. What should I check?

Review A and AAAA records, SNI, the hostname certificate and local DNS cache. The TCP service itself is reachable.

Should port 2087 be open to everyone?

Restricting administration to trusted source addresses is safer, but keep an emergency console path for dynamic-IP changes and lockouts.

07
RELATED GUIDES

Continue with the correct next step

EKA SERVER TECHNICAL KNOWLEDGE CENTER

Preserve access first, then harden security.

The correct security method is not to disable protection, but to measure the network, service and rule path and apply the narrowest safe change.

Technical support
Top