I can't access my website on

I want to create development server. I have container with NGINX installed.

After executing lxc config device add ezd nginx proxy listen=tcp: connect=tcp:, my server is available inside container

root@first:~# curl https://localhost
curl: (60) SSL certificate problem: self signed certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

but its not available in browser on host machine:

curl: (7) Failed to connect to port 10000: Connection refused

Why I cant see my website?

lxc version is:

lxc --version

You configured it the wrong way around.

1 Like

This command listens on localhost (on the host) at port 443, and connects to the container at localhost on port 10000.

See more about these at https://blog.simos.info/how-to-use-the-lxd-proxy-device-to-map-ports-between-the-host-and-the-containers/

1 Like