cURL + Laravel Valet + dnsmasq not working

前端 未结 5 1147
南笙
南笙 2020-12-15 08:11

when I execute a PHP script which runs a cURL request to a .test domain that is setup on my Mac with Laravel Valet/dnsmasq, I get this error printed :

5条回答
  •  执念已碎
    2020-12-15 09:00

    Adding 127.0.0.1 to my DNS settings fixed this issue for me. i.e. System Preferences -> Network -> Advance -> DNS

    And Run valet restart afterwards

提交回复
热议问题