How to access cpanel from public ip of google compute engine












-2















i just created a Centos7 VM instance of google compute engine, then i followed the instruction of installing cpanel&WHM so i had ssh into my instance using one of my desktop computers that doesn't have a UPS, so mid way the installation, power went off and my desktop went off as well, so i came back tried to reinstall but i ran into this erro2018-12-31 16:20:58 701 (ERROR): The installation process found evidence that the following control panels were installed on this server:
2018-12-31 16:20:58 702 (ERROR): cPanel & WHM



so i then i ran /scripts/upcp --force and the script seemed to have finished when i tried to run http://xxx.xxx.xxx.xxx:2087 i couldnt access the WHM login



but when i run curl http://localhost:2087 it returns the html that actually is for the WHM login page, so how can i use the public ip to be able to access these ports used by cpanel or maybe if cpanel didnt install correctly, how can i fix it since the documentation and every one else says its not a good idea unistalling it and am new to these things.



Thanks in advance please some one help me










share|improve this question


















  • 1





    This question is not related to programming and such I would recommend you to post your question to appropriate forum such as serverfault in your case which is meant to be for server and network related issue.

    – Rahi R
    Dec 31 '18 at 19:01
















-2















i just created a Centos7 VM instance of google compute engine, then i followed the instruction of installing cpanel&WHM so i had ssh into my instance using one of my desktop computers that doesn't have a UPS, so mid way the installation, power went off and my desktop went off as well, so i came back tried to reinstall but i ran into this erro2018-12-31 16:20:58 701 (ERROR): The installation process found evidence that the following control panels were installed on this server:
2018-12-31 16:20:58 702 (ERROR): cPanel & WHM



so i then i ran /scripts/upcp --force and the script seemed to have finished when i tried to run http://xxx.xxx.xxx.xxx:2087 i couldnt access the WHM login



but when i run curl http://localhost:2087 it returns the html that actually is for the WHM login page, so how can i use the public ip to be able to access these ports used by cpanel or maybe if cpanel didnt install correctly, how can i fix it since the documentation and every one else says its not a good idea unistalling it and am new to these things.



Thanks in advance please some one help me










share|improve this question


















  • 1





    This question is not related to programming and such I would recommend you to post your question to appropriate forum such as serverfault in your case which is meant to be for server and network related issue.

    – Rahi R
    Dec 31 '18 at 19:01














-2












-2








-2








i just created a Centos7 VM instance of google compute engine, then i followed the instruction of installing cpanel&WHM so i had ssh into my instance using one of my desktop computers that doesn't have a UPS, so mid way the installation, power went off and my desktop went off as well, so i came back tried to reinstall but i ran into this erro2018-12-31 16:20:58 701 (ERROR): The installation process found evidence that the following control panels were installed on this server:
2018-12-31 16:20:58 702 (ERROR): cPanel & WHM



so i then i ran /scripts/upcp --force and the script seemed to have finished when i tried to run http://xxx.xxx.xxx.xxx:2087 i couldnt access the WHM login



but when i run curl http://localhost:2087 it returns the html that actually is for the WHM login page, so how can i use the public ip to be able to access these ports used by cpanel or maybe if cpanel didnt install correctly, how can i fix it since the documentation and every one else says its not a good idea unistalling it and am new to these things.



Thanks in advance please some one help me










share|improve this question














i just created a Centos7 VM instance of google compute engine, then i followed the instruction of installing cpanel&WHM so i had ssh into my instance using one of my desktop computers that doesn't have a UPS, so mid way the installation, power went off and my desktop went off as well, so i came back tried to reinstall but i ran into this erro2018-12-31 16:20:58 701 (ERROR): The installation process found evidence that the following control panels were installed on this server:
2018-12-31 16:20:58 702 (ERROR): cPanel & WHM



so i then i ran /scripts/upcp --force and the script seemed to have finished when i tried to run http://xxx.xxx.xxx.xxx:2087 i couldnt access the WHM login



but when i run curl http://localhost:2087 it returns the html that actually is for the WHM login page, so how can i use the public ip to be able to access these ports used by cpanel or maybe if cpanel didnt install correctly, how can i fix it since the documentation and every one else says its not a good idea unistalling it and am new to these things.



Thanks in advance please some one help me







google-compute-engine cpanel whm






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 31 '18 at 16:42









E.KeeyaE.Keeya

84




84








  • 1





    This question is not related to programming and such I would recommend you to post your question to appropriate forum such as serverfault in your case which is meant to be for server and network related issue.

    – Rahi R
    Dec 31 '18 at 19:01














  • 1





    This question is not related to programming and such I would recommend you to post your question to appropriate forum such as serverfault in your case which is meant to be for server and network related issue.

    – Rahi R
    Dec 31 '18 at 19:01








1




1





This question is not related to programming and such I would recommend you to post your question to appropriate forum such as serverfault in your case which is meant to be for server and network related issue.

– Rahi R
Dec 31 '18 at 19:01





This question is not related to programming and such I would recommend you to post your question to appropriate forum such as serverfault in your case which is meant to be for server and network related issue.

– Rahi R
Dec 31 '18 at 19:01












1 Answer
1






active

oldest

votes


















-1














https://x.x.x.x:2087 (whm)
https://x.x.x.x:2083 (cpanel user)



Please be sure that your individual CentOS VM and/or any other firewalls have those ports open or source IP allowed through.






share|improve this answer
























  • i have tried runing the /scripts/configure_firewall_for_cpanel but all in vain then i opened the ports like firewall-cmd --permanent --zone=public --add-port=2087/tcp but still get The connection has timed out in the browser. any more detailed solution is highly welcome.

    – E.Keeya
    Dec 31 '18 at 19:50











  • you may need to ensure your Google Compute Engine console is allowing the required ports

    – vsw
    Dec 31 '18 at 20:02






  • 1





    Thank you very much actually i had to create another firewall rule and allowed both ports on my instance and it all works fine, thanks a bunch

    – E.Keeya
    Dec 31 '18 at 21:06











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53989600%2fhow-to-access-cpanel-from-public-ip-of-google-compute-engine%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









-1














https://x.x.x.x:2087 (whm)
https://x.x.x.x:2083 (cpanel user)



Please be sure that your individual CentOS VM and/or any other firewalls have those ports open or source IP allowed through.






share|improve this answer
























  • i have tried runing the /scripts/configure_firewall_for_cpanel but all in vain then i opened the ports like firewall-cmd --permanent --zone=public --add-port=2087/tcp but still get The connection has timed out in the browser. any more detailed solution is highly welcome.

    – E.Keeya
    Dec 31 '18 at 19:50











  • you may need to ensure your Google Compute Engine console is allowing the required ports

    – vsw
    Dec 31 '18 at 20:02






  • 1





    Thank you very much actually i had to create another firewall rule and allowed both ports on my instance and it all works fine, thanks a bunch

    – E.Keeya
    Dec 31 '18 at 21:06
















-1














https://x.x.x.x:2087 (whm)
https://x.x.x.x:2083 (cpanel user)



Please be sure that your individual CentOS VM and/or any other firewalls have those ports open or source IP allowed through.






share|improve this answer
























  • i have tried runing the /scripts/configure_firewall_for_cpanel but all in vain then i opened the ports like firewall-cmd --permanent --zone=public --add-port=2087/tcp but still get The connection has timed out in the browser. any more detailed solution is highly welcome.

    – E.Keeya
    Dec 31 '18 at 19:50











  • you may need to ensure your Google Compute Engine console is allowing the required ports

    – vsw
    Dec 31 '18 at 20:02






  • 1





    Thank you very much actually i had to create another firewall rule and allowed both ports on my instance and it all works fine, thanks a bunch

    – E.Keeya
    Dec 31 '18 at 21:06














-1












-1








-1







https://x.x.x.x:2087 (whm)
https://x.x.x.x:2083 (cpanel user)



Please be sure that your individual CentOS VM and/or any other firewalls have those ports open or source IP allowed through.






share|improve this answer













https://x.x.x.x:2087 (whm)
https://x.x.x.x:2083 (cpanel user)



Please be sure that your individual CentOS VM and/or any other firewalls have those ports open or source IP allowed through.







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 31 '18 at 18:21









vswvsw

1222




1222













  • i have tried runing the /scripts/configure_firewall_for_cpanel but all in vain then i opened the ports like firewall-cmd --permanent --zone=public --add-port=2087/tcp but still get The connection has timed out in the browser. any more detailed solution is highly welcome.

    – E.Keeya
    Dec 31 '18 at 19:50











  • you may need to ensure your Google Compute Engine console is allowing the required ports

    – vsw
    Dec 31 '18 at 20:02






  • 1





    Thank you very much actually i had to create another firewall rule and allowed both ports on my instance and it all works fine, thanks a bunch

    – E.Keeya
    Dec 31 '18 at 21:06



















  • i have tried runing the /scripts/configure_firewall_for_cpanel but all in vain then i opened the ports like firewall-cmd --permanent --zone=public --add-port=2087/tcp but still get The connection has timed out in the browser. any more detailed solution is highly welcome.

    – E.Keeya
    Dec 31 '18 at 19:50











  • you may need to ensure your Google Compute Engine console is allowing the required ports

    – vsw
    Dec 31 '18 at 20:02






  • 1





    Thank you very much actually i had to create another firewall rule and allowed both ports on my instance and it all works fine, thanks a bunch

    – E.Keeya
    Dec 31 '18 at 21:06

















i have tried runing the /scripts/configure_firewall_for_cpanel but all in vain then i opened the ports like firewall-cmd --permanent --zone=public --add-port=2087/tcp but still get The connection has timed out in the browser. any more detailed solution is highly welcome.

– E.Keeya
Dec 31 '18 at 19:50





i have tried runing the /scripts/configure_firewall_for_cpanel but all in vain then i opened the ports like firewall-cmd --permanent --zone=public --add-port=2087/tcp but still get The connection has timed out in the browser. any more detailed solution is highly welcome.

– E.Keeya
Dec 31 '18 at 19:50













you may need to ensure your Google Compute Engine console is allowing the required ports

– vsw
Dec 31 '18 at 20:02





you may need to ensure your Google Compute Engine console is allowing the required ports

– vsw
Dec 31 '18 at 20:02




1




1





Thank you very much actually i had to create another firewall rule and allowed both ports on my instance and it all works fine, thanks a bunch

– E.Keeya
Dec 31 '18 at 21:06





Thank you very much actually i had to create another firewall rule and allowed both ports on my instance and it all works fine, thanks a bunch

– E.Keeya
Dec 31 '18 at 21:06




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53989600%2fhow-to-access-cpanel-from-public-ip-of-google-compute-engine%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Monofisismo

Angular Downloading a file using contenturl with Basic Authentication

Olmecas