Local by flywheel couldn't connect to wordpress.org - Ubuntu

Thanks for clarifying @YTF and @garikaib – I wonder if the PHP lightning service needs to be updated for the php versions that are having problems. Maybe getting the latest version will update the certificates that PHP uses to connect remotely to wordpress.org.

Can you try following the steps in this help doc and let me know how it goes: