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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!