# php websites cannot connect to the outside internet

If php websites cannot connect to the outside internet , please;

  1. Check you have not disabled the "ufw" firewall. This is required as it manages the outbound NAT which PHP containers use to connect to the internet. Run:
sudo ufw enable