How can I access my Laravel app from another PC?

how to run laravel project in another computer
access my laravel site on another computer on the different network
access laravel project from phone
access laravel site on another computer on same network
how to open laravel project in browser
can t access web server from internal network
how can access laravel project from mobile
laravel project not working on server

I'm trying to access my Laravel app from another PC in the same network using IP address but I can't get it to work by accessing in my browser.

What should I do?

Why don't you use Laravel's artisan for it? Very simple:

sudo php artisan serve --host --port 80

Now from other computers, you can type:

Do not forget to replace the IP with your own local one. That's it.

How to access laravel site from another computer, On my pc I simply browse to page and fully access my site. At cmd I ran c:\xampp\htdocs\laravel\php artisan serve --host --port When our project goes live we will use a dedicated server for it. 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..

Access laravel using your IP address

php artisan serve --host 

Now you can access laravel server by http://laravel-server-ip-address:8000

If you want to change the port as well then

php artisan serve --host --port 8101

Now your laravel server is http://laravel-server-ip-address:8101

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 Since my laravel app is running on localhost:8000 I figured that� If laravel project in localhost and user want to access from another PC then need to change server ip address of laravel project using there IP address project can be access in another PC. Follow the below step in commandprompt in project root folder : Change host in cmd /*Command for change host of laravel project*/ php artisan serve --host

  1. Go to httpd.conf in Apache folder and find the following lines:

    DocumentRoot "c:/wamp/www"
    <Directory "c:/wamp/www">
        # ...Stuffs in here
        Options Indexes FollowSymLinks
        # ...Stuffs in here
        AllowOverride All
        # Controls who can get stuff from this server.
        Require all granted
  2. Then replace the last line within <Directory> tag for:

         Order Deny,Allow
         Deny from all
         Allow from
         Allow from ::1
         Allow from localhost
  3. Add a virtual host for your laravel application, go to httpd-vhosts.conf and add the following lines:

    <VirtualHost *:80>
        DocumentRoot "D:/.../your-laravel-app-path/public"
        <Directory "D:/.../your-laravel-app-path/public">
            AllowOverride All
            Order deny,allow
            Allow from all
            Require all granted
  4. Restart all your apache services

This should do it, i'm using wamp on Windows and works for me.

Running Laravel websites over local network, Let's take a standard Laravel app as an example. So how do you access your website, running on your dev machine, through your phone? There's another way to quickly extract the exact IP address of your machine by� I need some help on how to access my site running on my pc from another device in case the other device belongs: (1) to the same LAN and (2) outside LAN. I am using XAMPP Apache server. On my pc I simply browse to page and fully access my site. What I have done so far and partially works for LAN case:

You can do it by using laravel's built in command php artisan serve.

Follow the steps:

  1. Go to your project's root directory within command line.
  2. run php artisan serve

If you still can't access port 8000 or it is already in use then run:

php artisan serve --port 8383

And it should listen on new port you provided. Also you can set other options for this command. Look for the help php artisan help serve.

Access Laravel site on another computer on same network, Access laravel app from another PC using IP address in localhost. PC. Follow the below step in commandprompt in project root folder :� If 'Save to Camera Roll' is enabled in the app settings, your photos will be accessible in your device's Photos app. If "Save to Camera Roll" is disabled, you can also access them on a computer. Please follow the relevant instructions below, based on the computer you are using, to access your photos. Windows PC / OSX Mojave and older

Use this command in which ip address is ip-v4. Check ip-v4 from your wifi connection properties.

php artisan serve --host --port 5000

how to run laravel 5.1 on lan network, how to run laravel 5.1 on lan network. Accessing XAMPP Phpfile From Other Computers in Duration: 4:05 Posted: 3 Jun 2016 How to deploy your app to a shared hosting. How to migrate your databases without running migration commands! Step one: I assume you've finished building your app – at least a functional app that is working on your localhost. I also assume you are using Laravel 5.0 – although this article would be relevant for Laravel 5.1.

Installation - Laravel, On Windows, you can use the Composer Windows installer. of permissions to be configured: folders within app/storage require write access by the web server. WampServer or wampserver, it does not matter on windows. Windows is case insesitive, while other systems are case sensitive, that was - for me - a reason why a Laravel project worked on one server but not on an other. – PaulH Jun 2 '19 at 13:08

Laravel Quickstart - Laravel, if working with Windows) so the laravel executable is found when you run the laravel The Laravel framework utilizes Composer for installation and dependency copy of Laravel in a new your-project-name folder within your current directory. After installing the framework, take a glance around the project to familiarize� My client wants to run the laravel application locally on his Windows PC. Please suggest the steps I need to follow. Any help is much appreciated.

SSH - Laravel, The SSH facade provides the access point to connecting to your remote servers and running commands. The configuration file is located at app/config/remote. php� From there, your Vue app should store that token (in either LocalStorage or a Vuex store), and add it as an Authorization header in every outgoing request that requires it. Back on your Laravel app, you can use their token to reference the particular user making requests, passing back data that should be shown to just them.

  • which server are you using?
  • make sure you have Listen *:80 in your httpd.conf
  • you should post the relevant snippets from httpd.conf also, what url are you using locally?
  • i dont understand. how can i do that?
  • Quick note for newbies: In Windows, you can view your computer's ip by typing "ipconfig" (without quotes) in the command line. Use that ip instead of the (which is an example). I've been looking for this simple answer all day. Thanks man. It works like a charm.
  • How about --host Laravel will listen in all IP interfaces.
  • Beautiful! And yes, be sure to run ipconfig/ifconfig to get your actual local 192.168.x.x IP address for the command.
  • you sir have saved my time. trying to connect api on laravel with expo react native.. thank you
  • Note: Replace the IP with your comp IP
  • after, i cant now access my app from another pc using ip address?
  • i edited my answer @seanarce , tell me if it's working now and if not, how your vhosts conf look like
  • im trying to access my laravel application from another pc. i know this one but thank you anyway
  • @sean arce: i'm using the same for my production with multiple systems, and it's working fine from another PC. can you show me the actual error you get while accessing from another pc?
  • Unable to connect Firefox can't establish a connection to the server at The site could be temporarily unavailable or too busy. Try again in a few moments. If you are unable to load any pages, check your computer's network connection. If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web. -----------------------------i get this error
  • @sean arce: it's seems like there is some problem with your network connection, check that and make sure that your pc is connected properly.