Making webserver available from Centos VMWARE image

Posted on 2007-10-06
Last Modified: 2012-08-13
I've downloaded a Centos 5.0 VMWARE image and succesfully installed Xampp on it.

However, I can't access the websites from outside the VMWARE image. I probably just need to configure hosts and networking correctly but I have no clue about this.

Here are the various data that may help in solving this issue.

The ip address of the Centos VMWARE Image is :192,168.80.128, Bcast:, Mask:

The ip address of my local machine (where the vmware is running is I've put in a entry in my local machines host file ( that points to

Now I guess it's just a matter of configure networking-address and hosts correctly. Hopefully someone can help.


Question by:speder
    LVL 4

    Accepted Solution

    Have you configured the firewall on the CENTOS image to allow incoming web traffic?

    Author Comment

    No - is it running by default? If so, it would be alright just to disable it since it's just internal testing anyway. If you can help me with the command for this it would be great.
    LVL 4

    Expert Comment

    by:Bart van der Wee
    From what I know of CentOS - yes the firewall will be on by default. I do not know how to disable it - does it have some sort of web management interface you can access? Like webmin or similar?

    Author Comment

    It was the firewall. I stopped it with this command

    # /etc/init.d/iptables stop
    And now everything works. Thanks.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
    Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
    This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…
    This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now