Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

thinkjay's avatar

Access my Laravel site on another computer on the same network

Hello, I need to access my Laravel site on a conference room PC which is on the same network as my development mac.

I am using MAMP Pro, and all my other localhost websites are accessible on other computers using my IP Address

To access my development sites on another computer in my building, I just use my ip address.. Example: http://10.0.0.123/SomeHtmlSite - is accessible on other PCs

Since my laravel app is running on localhost:8000 I figured that http://10.0.0.123:8000 would point to my Laravel app. This doesn't work, I'm sure I have to change this value or make changes to permissions, but not sure where.

How can I make this work?

0 likes
5 replies
thinkjay's avatar
thinkjay
OP
Best Answer
Level 1

I found out the issue myself I used the following command to start the server:

sudo php artisan serve --host 10.0.0.123 --port 80

11 likes
nkossy's avatar

Just make a virtual host on apache and point to your project direcory

giovannipds's avatar

Seems like my ports 80 & 8080 keep changing somehow thought the tip of 0.0.0.0's interesting.

Please or to participate in this conversation.