Configure VMware 2.0 Server for only one IP address

Discussion in 'Server Operation' started by martinfst, Oct 11, 2008.

  1. martinfst

    martinfst ISPConfig Developer ISPConfig Developer

    I'm setting up a Ubuntu 8.04 server with VMware server 2.0 (Public domain version). I have multiple IP addresses on my server. I want VMware server to listen to the default 80 and 443 ports on one IP address and I want to run a standard Apache2 server on 2 other IP addresses.

    The default installation of VMware is configured to listen to all IP addresses available in the server. As a result, Apache2 does not start because the ports are already in use. I've been trying to figure out how to modify the by VMware used Tomcat instance to listen to only one IP address, but so far no luck.

    Any suggestions?

  2. falko

    falko Super Moderator ISPConfig Developer

    I'm not sure, but maybe you have to modify /etc/vmware/hostd/config.xml.
  3. martinfst

    martinfst ISPConfig Developer ISPConfig Developer

    Tried that, but not luck. You seem to be able to change the port, but couldn't find how to add the IP address. I also played with modification of /usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/conf/server.xml, but that didn't work for me either (yet).

  4. oriongr

    oriongr Member

    By default the web interface of Vmware 2 listens to port 8222 and 8333 for secure..You want to change that? You can do that on the installation of vmware... as for the Apache config make sure that it listens to your other IP and not to * (all)
  5. martinfst

    martinfst ISPConfig Developer ISPConfig Developer

    I will try to be more clear on my objectives:

    I have an ispconfig server, using 3 IP addresses for websites. I modified ispconfig to listen to port 443 on only one dedicated additional IP. So, I've used now 4 IP addresses.

    I wanted to configure VMware to listen to port 80/443 on another separate IP address on that same server. However, VMware claims all IP addresses on the server, so inluding the ones reserved for ispconfig. I wanted it to use the fifth IP address.

    As a workaround I have now reconfigured VMware to use the default 8222 and 8333 addresses. That works. But in the end I want to have everything on 80/443, as I sometimes have to work behind a proxy that filters everything but 80/443. In that case I won't be able to connect to my VMware server running on 8222/8333.:(

    Also, combining VMware and ispconfig makes ispconfig complain about Apache not running, but it is running. I will have to figure that one out also......
  6. falko

    falko Super Moderator ISPConfig Developer

    ISPConfig tries to check Apache on localhost ( If Apache's not listening on that IP, then ISPConfig shows it as offline.
  7. martinfst

    martinfst ISPConfig Developer ISPConfig Developer

Share This Page