Commands opkg update and opkg install luci-ssl fails because of the internet connection

Hello guys, I'm a noobie. I try to use the "opkg update" and "opkg install luci-ssl" commands on LEDE that I installed in virtual machine on VirtualBox. But I get the error "can not install package luci-ss" in the case of "opkg install luci-ssl" and "Failed to establish connection" for "opkg update". Thank you in advance for your help and I want to remind you that I am new to the field.