Hi, http://www.tekrevue.com/tip/edit-hosts-file-mac-os-x/
the best think to do is set another host. Remember that other programs maybe use localhost.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm using php artisan serve to pull up a local server to port 8000 (i.e. localhost:8000). This works on Safari and Firefox but, when I try it on Chrome I get the error: err_connection_refused. Upon searching for a solution one website said to change the .localhost domain names to something else like .local .
How would I change that? I am using a Mac for development.
Please or to participate in this conversation.