[lxc-users] 回复: Access application by host ip and port

lawvae lawvae at qq.com
Thu Dec 4 02:21:23 UTC 2014


THx all, I will have a try.




------------------ 原始邮件 ------------------
发件人: "Milo van der Linden";<milo at dogodigi.net>;
发送时间: 2014年12月3日(星期三) 晚上11:33
收件人: "LXC users mailing-list"<lxc-users at lists.linuxcontainers.org>; 

主题: Re: [lxc-users] Access application by host ip and port




I often install nginx on my host system and route webservers, servlet servers and nodejs applications through. Don't know if this is good practice but it works good.
 On Dec 3, 2014 2:08 PM, "Joris Michaux" <joris.michaux at france-pari.org> wrote:
Hi,
 
 By using :
 
 1. iptables ?
 2. Reverse proxy ?
 3. socat ?
 
 Regards,
 
 On 03/12/2014 13:29, lawvae wrote:
 > Hi all
 >    I installed a lxc container in a CentOS host, and ran a tomcat application in it. Now, I get a question, if there any possible ways to access the tomcat through the host ip and port?
 >    Thanks all in advance.
 >
 >
 >
 > _______________________________________________
 > lxc-users mailing list
 > lxc-users at lists.linuxcontainers.org
 > http://lists.linuxcontainers.org/listinfo/lxc-users
 >
 
 _______________________________________________
 lxc-users mailing list
 lxc-users at lists.linuxcontainers.org
 http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20141204/f027e388/attachment.html>


More information about the lxc-users mailing list