LXC - Connection refused

Feb 21, 2023
35
0
11
I'm experiencing intermittent communication issues with some LXC containers. When I try to test connectivity using curl, I get the following response:

curl -vI https://192.168.1.15
* Trying 192.168.1.15:443...
* connect to 192.168.1.15 port 443 from 0.0.0.0 port 64467 failed: Connection refused
* Failed to connect to 192.168.1.15 port 443 after 2034 ms: Couldn't connect to server
* Closing connection
curl: (7) Failed to connect to 192.168.1.15 port 443 after 2034 ms: Couldn't connect to server

After some time, the connection works again.

Is there a function in Proxmox that could be blocking suspicious communication or something similar?
 
After some time, the connection works again.
I have seen this behavior some times when the IP address was used twice - at the same time.

Re-verify how IP configuration is done. Perhaps you had configured one system statically and a DHCP server gives the same address to another machine - be it a VM, an LXC or a real hardware system...
 
I suspect something similar, as it usually happens when new VMs are created. It's stable now—fingers crossed it stays that way!