Results 1 to 13 of 13
Thread: how to open ports in server??
-
10-31-2009, 03:21 PM #1Temporarily Suspended
- Join Date
- Aug 2009
- Posts
- 147
how to open ports in server??
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..
-
10-31-2009, 04:14 PM #2Corporate Member
- Join Date
- Feb 2008
- Location
- Houston, Texas, USA
- Posts
- 3,262
Assuming the cPanel installation was successful, simply restart cPanel using this command:
/etc/init.d/cpanel restart
Or reboot the server (not recommended).
Regards
JoeUNIXy - Fully Managed Servers and Clusters - Established in 2006
Server Management - Unlimited Servers. Unlimited Requests. One Plan!
cPanel Varnish Plugin -- Seamless SSL Caching (Let's Encrypt, AutoSSL, etc)
Slow Site or Server? Unable to handle traffic? Same day performance fix: joe@unixy
-
10-31-2009, 04:15 PM #3Web Hosting Master
- Join Date
- Dec 2005
- Posts
- 3,110
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
-
10-31-2009, 04:23 PM #4Corporate Member
- Join Date
- Feb 2008
- Location
- Houston, Texas, USA
- Posts
- 3,262
UNIXy - Fully Managed Servers and Clusters - Established in 2006
Server Management - Unlimited Servers. Unlimited Requests. One Plan!
cPanel Varnish Plugin -- Seamless SSL Caching (Let's Encrypt, AutoSSL, etc)
Slow Site or Server? Unable to handle traffic? Same day performance fix: joe@unixy
-
11-01-2009, 03:50 AM #5Temporarily Suspended
- Join Date
- Aug 2009
- Posts
- 147
hi
thanks every one ...but still its not working??? can any one help me out.....how to make it work..
-
11-01-2009, 08:35 AM #6Newbie
- Join Date
- Oct 2009
- Location
- India
- Posts
- 8
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.
-
11-01-2009, 08:35 PM #7Junior Guru Wannabe
- Join Date
- Oct 2009
- Posts
- 51
Do you have it open with iptables?
-
11-01-2009, 10:34 PM #8Disabled
- Join Date
- May 2006
- Posts
- 1,426
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.
-
11-02-2009, 01:17 AM #9Web Hosting Master
- Join Date
- Jan 2008
- Posts
- 1,204
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|| Web Hosting Blog - Web Hosting security & latest web hosting industry Announcements
|| Web Hosting Discussion - A Web Hosting community
-
11-02-2009, 01:27 AM #10Temporarily Suspended
- Join Date
- Feb 2004
- Location
- USA
- Posts
- 1,572
Do you have an firewall installed? CSF, AFP?
Try doing
# iptables -F
-
11-03-2009, 06:29 PM #11Newbie
- Join Date
- Oct 2009
- Location
- India
- Posts
- 23
You can try after,
service iptables stop
service apf stop
csf -f
-
11-04-2009, 01:22 AM #12Web Hosting Guru
- Join Date
- May 2008
- Posts
- 340
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 ?
ps aux | grep cpsrvd
tail -f /var/log/chkservd.logTwitter : http://twitter.com/eth1networks
Contact Us : support[at]eth1.in
-
11-04-2009, 10:30 AM #13Web Hosting Master
- Join Date
- Oct 2009
- Posts
- 1,063
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 restartShared Hosting | Reseller Hosting | VPS Hosting | Dedicated Servers
KeserHosting.Com
Similar Threads
-
Ports to open for web server (PLESK, cPanel, etc.)
By dimsys in forum Hosting Security and TechnologyReplies: 2Last Post: 03-11-2008, 07:34 AM -
how can i open ports in my server ?
By Medo Hard in forum Dedicated ServerReplies: 8Last Post: 04-05-2007, 11:36 AM -
Why would a windows server show all ports as open
By stooley in forum Hosting Security and TechnologyReplies: 1Last Post: 04-24-2006, 11:05 AM -
Is this safe with this ports being open for a cpanel server?
By jayzee in forum Hosting Security and TechnologyReplies: 3Last Post: 09-28-2005, 08:25 PM -
What are the normal ports that are supposed to be open? on a windows IIS server
By Cephren in forum Hosting Security and TechnologyReplies: 7Last Post: 08-27-2002, 10:50 AM