Hi
I have dedicated server..i installed cpanel on it but when am accessing it
http://91.121.24.67:2087
i am not able to open it..so i think port is not open so can any one tell me how to open ports...the os installed is centos..
Printable View
Hi
I have dedicated server..i installed cpanel on it but when am accessing it
http://91.121.24.67:2087
i am not able to open it..so i think port is not open so can any one tell me how to open ports...the os installed is centos..
Assuming the cPanel installation was successful, simply restart cPanel using this command:
/etc/init.d/cpanel restart
Or reboot the server (not recommended).
Regards
Joe
For HTTP its port 2086. Port 2087 is for SSL (HTTPS)
Use these links:
http://91.121.24.67:2086 or https://91.121.24.67:2087
That still doesnt work however, try flushing out your iptables rules:
iptables -F
hi
thanks every one ...but still its not working??? can any one help me out.....how to make it work..
Find the open and closed of your server ports using the below command
#nmap localhost
#nmap ip-Address
Also Check is it connected from out side and inside
eg)
sahab@sahab-laptop:~$ telnet xx.xx.xx.2\xx 2082
Trying xx.xx.xx.xx...
Connected to xx.xx.xx.xx.
Escape character is '^]'
Is it not connected means try to reinstall cpanel, In default cpanel port open automatic on installation time.
Do you have it open with iptables?
Well if you flush iptables and you have default deny it will lock you out until reboot.
Are you getting connection reset or connection timeout?
you would do iptables -L -n to see your iptables rules. If it is default centos webserver I think it does come with some default rules, just install a firewall like csf and configure it for the open ports would be easy way.
connection reset usually means the daemon (whm) is not running or your default deny is reject but I would assume it is drop so if it is firewalled you would get a connection timeout.
Make sure cPanel is installed successfully. I even didn't get Apache Success page while browsing http://91.121.24.67. If cPanel is installed successfully and Apache is up and running, you should get "Apache is working on your cPanelŽ and WHM™ Server" page.
Kailash
Do you have an firewall installed? CSF, AFP?
Try doing
# iptables -F
You can try after,
Quote:
service iptables stop
service apf stop
csf -f
Running a telnet on the IP address 91.121.24.67 on the ports 2082/2083 resulted in a connection refused message.
Performing a port scan on the IP address reveals cPanel ports are not being filtered nor are running.
Are you sure the cPanel service is running ?
Secondly, is this a VPS wherein the server might be running out of memory. Can you paste the output of the following command,Quote:
ps aux | grep cpsrvd
Quote:
tail -f /var/log/chkservd.log
Try to open the port using the iptables as given below,
#iptables -A INPUT -p tcp --dport portno -j ACCEPT
and/or
#iptables -A OUTPUT -p tcp --dport portno -j ACCEPT
after that save and restart iptables using command,
#service iptables save
#service iptables restart