I cannot reach apache on my virtual machine CentOSCannot connect to Redis installed on VirtualBox running...

Provisioning profile doesn't include the application-identifier and keychain-access-groups entitlements

SQL Server Primary Login Restrictions

How to get the name of the database a stored procedure is executed in within that stored procedure while it's executing?

What is the greatest age difference between a married couple in Tanach?

It's a yearly task, alright

Co-worker team leader wants to inject his friend's awful software into our development. What should I say to our common boss?

How do I hide Chekhov's Gun?

Font with correct density?

Does the statement `int val = (++i > ++j) ? ++i : ++j;` invoke undefined behavior?

Rejected in 4th interview round citing insufficient years of experience

Counting certain elements in lists

What has been your most complicated TikZ drawing?

Is having access to past exams cheating and, if yes, could it be proven just by a good grade?

Why using two cd commands in bash script does not execute the second command

Why are the outputs of printf and std::cout different

Old race car problem/puzzle

Happy pi day, everyone!

Bash replace string at multiple places in a file from command line

How to generate globally unique ids for different tables of the same database?

Why did it take so long to abandon sail after steamships were demonstrated?

Is it possible that AIC = BIC?

Is Mortgage interest accrued after a December payment tax deductible?

Identifying the interval from A♭ to D♯

Official degrees of earth’s rotation per day



I cannot reach apache on my virtual machine CentOS


Cannot connect to Redis installed on VirtualBox running Ubuntu from Windows 7Virtual box host-only adapter configurationCan't access Apache in my CentOS VirtualboxBroadcasts from guest machine not reached host machinessh access between windows host and centos running in virtual box gives Access DeniedReach LXC container from a virtualbox guest on the same hostVirtualBox, VLAN, CentOS 7: guests and host can't communicateUbuntu virtual machine not reachable from outside Windows hostVirtualBox and Windows 10: can't connect to a server hosted on VirtualBoxHow to “forward” or share whole network into a host in Vagrant setup?













0















I have installed CentOS minimal version 1708 in VirtualBox on my windows 7 local machine.



I have executed following commands:



sudo yum update
sudo yum install httpd
sudo systemctl enable httpd
sudo systemctl disable firewalld
sudo curl localhost (I get info about installled apache)
sudo setenforce 0
ping localmachine (192.168.0.50) (response 1ms)
telnet localmachine (192.168.0.50) ports 21,22,80 (Connection refused)


I have also executed following commands on windows 7:



ping virtualmachine (192.168.58.101) (response 1ms)
telnet virtualmachine (192.168.58.101) ports 21,22,80 (Connection refused)


I have tried settings in VirtualBox -> Network (select NAT, Internal Network, Host-only Adapter)
I have tried to open ports in VirtualBox -> Network -> Port Forwarding Rules (Protocol: TCP, Host IP: localmachine (192.168.0.50), port 80, Guest IP blank, Guest port 80) -> and this make my virtualmachine telnet to localmachine at port 80 being accepted.



I cannot reach my appache site on virtual machine from my local machine with windows 7. As you can see I set firewall off on CEntos and disabled selinux just in case.



Command:



ss -ntip


Gives result:
LISTEN 0 128 :::80 :::*



so this means that port is open.



Please help me with this issue.









share







New contributor




JanPapjerz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I have installed CentOS minimal version 1708 in VirtualBox on my windows 7 local machine.



    I have executed following commands:



    sudo yum update
    sudo yum install httpd
    sudo systemctl enable httpd
    sudo systemctl disable firewalld
    sudo curl localhost (I get info about installled apache)
    sudo setenforce 0
    ping localmachine (192.168.0.50) (response 1ms)
    telnet localmachine (192.168.0.50) ports 21,22,80 (Connection refused)


    I have also executed following commands on windows 7:



    ping virtualmachine (192.168.58.101) (response 1ms)
    telnet virtualmachine (192.168.58.101) ports 21,22,80 (Connection refused)


    I have tried settings in VirtualBox -> Network (select NAT, Internal Network, Host-only Adapter)
    I have tried to open ports in VirtualBox -> Network -> Port Forwarding Rules (Protocol: TCP, Host IP: localmachine (192.168.0.50), port 80, Guest IP blank, Guest port 80) -> and this make my virtualmachine telnet to localmachine at port 80 being accepted.



    I cannot reach my appache site on virtual machine from my local machine with windows 7. As you can see I set firewall off on CEntos and disabled selinux just in case.



    Command:



    ss -ntip


    Gives result:
    LISTEN 0 128 :::80 :::*



    so this means that port is open.



    Please help me with this issue.









    share







    New contributor




    JanPapjerz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I have installed CentOS minimal version 1708 in VirtualBox on my windows 7 local machine.



      I have executed following commands:



      sudo yum update
      sudo yum install httpd
      sudo systemctl enable httpd
      sudo systemctl disable firewalld
      sudo curl localhost (I get info about installled apache)
      sudo setenforce 0
      ping localmachine (192.168.0.50) (response 1ms)
      telnet localmachine (192.168.0.50) ports 21,22,80 (Connection refused)


      I have also executed following commands on windows 7:



      ping virtualmachine (192.168.58.101) (response 1ms)
      telnet virtualmachine (192.168.58.101) ports 21,22,80 (Connection refused)


      I have tried settings in VirtualBox -> Network (select NAT, Internal Network, Host-only Adapter)
      I have tried to open ports in VirtualBox -> Network -> Port Forwarding Rules (Protocol: TCP, Host IP: localmachine (192.168.0.50), port 80, Guest IP blank, Guest port 80) -> and this make my virtualmachine telnet to localmachine at port 80 being accepted.



      I cannot reach my appache site on virtual machine from my local machine with windows 7. As you can see I set firewall off on CEntos and disabled selinux just in case.



      Command:



      ss -ntip


      Gives result:
      LISTEN 0 128 :::80 :::*



      so this means that port is open.



      Please help me with this issue.









      share







      New contributor




      JanPapjerz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I have installed CentOS minimal version 1708 in VirtualBox on my windows 7 local machine.



      I have executed following commands:



      sudo yum update
      sudo yum install httpd
      sudo systemctl enable httpd
      sudo systemctl disable firewalld
      sudo curl localhost (I get info about installled apache)
      sudo setenforce 0
      ping localmachine (192.168.0.50) (response 1ms)
      telnet localmachine (192.168.0.50) ports 21,22,80 (Connection refused)


      I have also executed following commands on windows 7:



      ping virtualmachine (192.168.58.101) (response 1ms)
      telnet virtualmachine (192.168.58.101) ports 21,22,80 (Connection refused)


      I have tried settings in VirtualBox -> Network (select NAT, Internal Network, Host-only Adapter)
      I have tried to open ports in VirtualBox -> Network -> Port Forwarding Rules (Protocol: TCP, Host IP: localmachine (192.168.0.50), port 80, Guest IP blank, Guest port 80) -> and this make my virtualmachine telnet to localmachine at port 80 being accepted.



      I cannot reach my appache site on virtual machine from my local machine with windows 7. As you can see I set firewall off on CEntos and disabled selinux just in case.



      Command:



      ss -ntip


      Gives result:
      LISTEN 0 128 :::80 :::*



      so this means that port is open.



      Please help me with this issue.







      centos virtual-machines virtualbox





      share







      New contributor




      JanPapjerz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      JanPapjerz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      JanPapjerz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 37 secs ago









      JanPapjerzJanPapjerz

      1




      1




      New contributor




      JanPapjerz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      JanPapjerz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      JanPapjerz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          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
          });


          }
          });






          JanPapjerz is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f958357%2fi-cannot-reach-apache-on-my-virtual-machine-centos%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          JanPapjerz is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          JanPapjerz is a new contributor. Be nice, and check out our Code of Conduct.













          JanPapjerz is a new contributor. Be nice, and check out our Code of Conduct.












          JanPapjerz is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Server Fault!


          • 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%2fserverfault.com%2fquestions%2f958357%2fi-cannot-reach-apache-on-my-virtual-machine-centos%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

          117736 Шеррод Примітки | Див. також | Посилання | Навігаційне...

          As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

          Маріан Котлеба Зміст Життєпис | Політичні погляди |...