I'm unable to access https://repo.packagist.org/packages.json from my Mac. It's a 2017 27 inch on MacOS 13.7.5 (latest). I've tried the site from my phone and another mac on the same network and the site loads fine. I've tried connecting the Mac to another network and it still doesn't work. The firewall is inactive. I've tried with and without a VPN. I've tried different browsers and running a curl from Terminal. All other sites work. Does anyone know what the issue could be?
Can you access any other files or directories on that domain? Like can you visit https://repo.packagist.org/? It should just be a simple 404 page:
Maybe somehow that domain made it in your hosts
file and is redirecting to somewhere strange. Take a look in /etc/hosts
with a text editor and if that domain is present, just delete the line:
sudo nano /etc/hosts