HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Configure VMware 2.0 Server for only one IP address (http://www.howtoforge.com/forums/showthread.php?t=27728)

martinfst 11th October 2008 16:20

Configure VMware 2.0 Server for only one IP address
 
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?

Martin

falko 12th October 2008 18:15

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

martinfst 12th October 2008 19:01

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).

Martin

oriongr 13th October 2008 17:32

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)

martinfst 13th October 2008 21:50

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......

falko 14th October 2008 20:52

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

martinfst 14th October 2008 20:57

Thanks Falko. Found it at the same time you posted your response. See also http://www.howtoforge.com/forums/sho...42&postcount=1


All times are GMT +2. The time now is 10:59.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.