nickdavies07's avatar

Using cretueusebiu/valet-windows can't connect to .test domains

Not really Laravel specific, but thought I'd ask anyway. Anyone have any experience using cretueusebiu/valet-windows?

I've installed as per the guide, configured my DNS to point to 127.0.0.1 and ::1. Pinging any of my projects i.e. app.test returns a reply from 127.0.0.1 successfully. However, visiting app.test in the browser returns 'The requested URL could not be retrieved - The system is unable to determine the IP address for app.test'.

When using valet share and then the ngrok URL I can connect, however. i.e. https://2a9dc219.ngrok.io/ will return my Laravel project successfully.

Any ideas?

0 likes
3 replies
nickdavies07's avatar
nickdavies07
OP
Best Answer
Level 8

Thanks.

Realised it was because I'm behind a proxy, and the proxy settings didn't have the exceptions set for localhost;127.0.0.1;*.test

All works great now!

Please or to participate in this conversation.