No. I access the container using a subdomain (amsc1.mydomain.us). The host VPS is doing port forwarding of ports 80/443, forwarding to another container that is hosting HAproxy. HAproxy redirects to the container hosting the application based on the subdomain portion of the URL (amsc1).
My app basically works, but disconnects after 10-15 secs. This has been a known issue of the app having access to udp ports 5000-65000 which I have opened, but it has not resolved the disconnect issue. That's why I am wondering if these ports need to be opened on the host VPS also? Thanks, Ray -----Original Message----- From: Tomasz Chmielewski [mailto:man...@wpkg.org] Sent: Friday, March 20, 2020 8:17 AM To: LXC users mailing-list <lxc-users@lists.linuxcontainers.org> Cc: Ray Jender <ray...@yahoo.com> Subject: Re: [lxc-users] Quick Question On 2020-03-20 21:07, Ray Jender wrote: > So if I have an LXD container hosting an application that requires > some specific ports be open, must those same ports be opened on the > host OS? > > For example, I need udp ports 5000-65000 open in the container. Must > I also open these ports on the host? Does the container have a dedicated, public IP? Tomasz Chmielewski https://lxadm.com _______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users