LXC container in Virtual Machine. Connection Refused to https.

MikeG

New Member
Feb 23, 2023
2
0
1
Helllo,
Just created lxc in VM (EFI, Centos7, i440x, Host cpu) and cant get https sites from lxc-container (gets connection refused from curl, for example).
In virtualbox (from Linux machine) this lxc-container works fine.
Can you help me to fix it? Proxmox version is 7.3.3
Thanks.

1677163953100.png

1677166786320.png
 
Last edited:
You have to use the cURL when the link is HTTPS with -k flag i.e., curl -k https://google.com
 
1677231582174.png


That's not the point. It doesent work only from lxc (from Proxmox VM). In another host from the same
lxc container it works fine. Something wrong with Proxmox VM network settings.