I am running CentOS in Virtualbox environment on my Win7 machine. I am able to connect there by SSH from host machine (win7), but Apache’s httpd is not answering.
I can get response in CentOS by
curl 172.27.59.38, but IP address doesn’t respond on host machine:
C:\Users\username>telnet 172.27.59.38 80 Connecting To 172.27.59.38...Could not open connection to the host, on port 80: Connect failed
nmap localhost doesn’t show that 80 port is open.
What can be the issue?
If you have sudo rights, try running
service httpd status and see if the server is running.
If you find that apache is running, your problem is probably going to be port related- in which case, running
system-config-securitylevel-tui will bring up a terminal version of the firewall-management console, which you can then go into and enable the necessary port forwards.
If you find that you still cannot access your httpd server, make sure you’ve opened/forwarded the ports on your router.
- How to make Sharepoint website running in VMware virtual machine accessible from host?
- VirtualBox – Static Guest, accessible from host
- Setting up a web server on a virtual machine viewable from the host and all other vms running on the host
- Is it possible to make the VirtualBox host machine use dhcp on vboxnet0?
- Installing and utilizing VirtualBox on a headless CentOS machine
Leave a comment
- SCP transfer only modified files
- How can I automate clearing and resetting a Linux user’s home directory to a default?
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?