var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
how to open ports in server??
I have dedicated server..i installed cpanel on it but when am accessing it
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:
Or reboot the server (not recommended).
For HTTP its port 2086. Port 2087 is for SSL (HTTPS)
Use these links:
http://126.96.36.199:2086 or https://188.8.131.52:2087
That still doesnt work however, try flushing out your iptables rules:
cPanel's cpsrvd responds to either SSL or non-SSL requests on port 2087. cpsrvd should give a clue either way.
Originally Posted by
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
Also Check is it connected from out side and inside
[email protected]:~$ telnet xx.xx.xx.2\xx 2082
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://184.108.40.206. If cPanel is installed successfully and Apache is up and running, you should get "Apache is working on your cPanelŽ and WHM™ Server" page.
Do you have an firewall installed? CSF, AFP?
# iptables -F
You can try after,
service iptables stop
service apf stop
Running a telnet on the IP address 220.127.116.11 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,
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
#iptables -A OUTPUT -p tcp --dport portno -j ACCEPT
after that save and restart iptables using command,
#service iptables save
#service iptables restart
Shared Hosting |
Reseller Hosting | VPS Hosting | Dedicated Servers KeserHosting.Com
By dimsys in forum Hosting Security and Technology
Last Post: 03-11-2008, 07:34 AM
By Medo Hard in forum Dedicated Server
Last Post: 04-05-2007, 11:36 AM
By stooley in forum Hosting Security and Technology
Last Post: 04-24-2006, 11:05 AM
By jayzee in forum Hosting Security and Technology
Last Post: 09-28-2005, 08:25 PM
By Cephren in forum Hosting Security and Technology
Last Post: 08-27-2002, 10:50 AM