Can't access /whm, /cpanel, :2086, etc..

theMikeroy

Member
Oct 6, 2006
10
0
151
Hi =)

I'm a long time cPanel user, first time as a system admin however... I did my first install just fine and dandy, however I'm having an issue when trying to get into the whm for the first time...

I did a server install of CentOS and then ran the install script from cpanel/whm

The install completed just fine, and I'm able to access the default directory when i point my browser to the IP address (client hasn't set up his domain name yet).
When i try to access /whm, /cpanel, or ip:2086, ip:2084 I'm denied a connection...Firefox complains about 'unable to establish connection'

Also, i'm able to access the /whm etc. when i'm actually using the server it was installed on when I ssh in and use links. The downside is however that I can't do much with Links once i'm in the panel anyway, since it doesn't refresh the main content pane at all.

So, essentially, i can access the machine from within itself, but can't access the whm and cpanel ports from anywhere outside the machine...

Any suggestions where i might look to correct this?

Thanks =)
 

terrellmagix

Registered
Oct 14, 2006
2
0
151
theMikeroy said:
Hi =)

I'm a long time cPanel user, first time as a system admin however... I did my first install just fine and dandy, however I'm having an issue when trying to get into the whm for the first time...

I did a server install of CentOS and then ran the install script from cpanel/whm

The install completed just fine, and I'm able to access the default directory when i point my browser to the IP address (client hasn't set up his domain name yet).
When i try to access /whm, /cpanel, or ip:2086, ip:2084 I'm denied a connection...Firefox complains about 'unable to establish connection'

Also, i'm able to access the /whm etc. when i'm actually using the server it was installed on when I ssh in and use links. The downside is however that I can't do much with Links once i'm in the panel anyway, since it doesn't refresh the main content pane at all.

So, essentially, i can access the machine from within itself, but can't access the whm and cpanel ports from anywhere outside the machine...

Any suggestions where i might look to correct this?

Thanks =)
Try reinstalling cpanel to see if that waorks
 

theMikeroy

Member
Oct 6, 2006
10
0
151
Hi guys

thanks for the response...

I'm certain it's not a browser problem, as I can access cpanel's elsewhere that I use on the usual ports.

If i just run the install script again, will that suffice as a re-install, or do i need to 'uninstall' the current build??

Thanks =)
 

theMikeroy

Member
Oct 6, 2006
10
0
151
NT FTW!

iptables --flush did it... I totally should have thought of that, but thanks for the help!
;)
 

Spiral

BANNED
Jun 24, 2005
2,020
8
193
rsaylor said:
try restarting cpanel

/etc/init.d/cpanel restart
On most servers, that is actually located at:

/etc/rc.d/init.d/cpanel restart

(Right idea, wrong pathname ;) )