Why We Are Here

We are here to make a significant contribution to education for all across the African continent, both now and for future generations.

We are dedicated to enhancing education opportunities particularly for the younger Zanzibarian generation, by providing accessible and quality educational resources for free.

Through our efforts, we aspire to bridge educational gaps, promote lifelong learning and create a brighter future for Zanzibar’s youth.

How to access local laravel project from another computer on the same local network?

Posted by question | 5 replies | 2 months | 17-Oct, 2024 09:32:52 1 0
Replies:
masterplan | 2 months ago | 17-Oct, 2024 09:34:44

Step 1: Find your local IP address

You need to find the IP address of the computer where your Laravel project is running:

Windows:
Open Command Prompt and type: ipconfig

Look for the section called IPv4 Address (e.g., 192.168.1.100)

macOS/Linux:
Open Terminal and type: ifconfig or ip a

Look for inet under your active network adapter (usually eth0 or wlan0)

Step 2: Serve the Laravel project on the local IP

In your Laravel project directory, run the following command to serve your project on your local IP address instead of localhost.

Step 3: Access the Laravel project from another computer

On the other computer connected to the same local network; For example:

Run
php artisan serve --host=192.168.1.100 --port=8000

Test:
http://192.168.1.100:8000

A proxy server is a system or router that provides a gateway between users and the internet. It helps prevent cyber attackers from entering a private network.

Posted by masterplan | 0 replies | 2 months | 14-Oct, 2024 17:02:31 0 0

Comment records not available