LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] apache is not listening on real-ip and add ip alias on lo.

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] apache is not listening on real-ip and add ip alias on lo.
From: jackbillow <jackbillow@xxxxxxxxx>
Date: Thu, 30 Oct 2008 10:23:49 +0800
hi Sebastien Termeau
apache is not listening on real-ip. you can try it.

you can make apache is listening all ip,like this:

 tcp        0      0 0.0.0.0:80 <http://192.168.1.149/>            0.0.0.0:*
LISTEN      4502/httpd

and add ip alias on lo, as follow:

lo:0    Link encap:Ethernet
         inet addr:192.168.1.61  Bcast:192.168.1.255  Mask:255.255.255.0


if you do below two thing, it will work fine.

<Prev in Thread] Current Thread [Next in Thread>