• Access the Localhost by Phone
  • If you're not bound to using Apache or nginx for some special reason and this is for development purposes only, you could serve the application using the PHP built-in server and artisan. It's by far the easiest thing to setup, and will only require you to run one command in the Laravel application directory:

    php artisan serve --host 0.0.0.0

    The default port it will be listening to will be 8000 to avoid any conflicts, so you can now access the application from your phone via the IP address of your computer:

    http://192.168.1.101:8000

    If you want to listen to another port (for example the default HTTP port of 80) you can pass that as a parameter, just make sure no other server is running on that port. So if you run this instead:

    php artisan serve --host 0.0.0.0 --port 80

    You can now access your application with just the IP address:

    http://192.168.1.101



    sudo scutil --set HostName name-you-want

    Change the full name of a user account

    A user's full name can be changed by that user or an administrator. The full name doesn't need to be the same as the account name or home folder name.

    OS X Yosemite or later

    1. Choose Apple menu () > System Preferences, then click Users & Groups.
    2. Click the lock button  , then enter an administrator name and password. 
    3. From the list of users, Control-click or right-click the user that you want to rename. Choose Advanced Options from the shortcut menu.
    4. Change the name in the “Full name” field, then click OK.
     

    by kevin 8 years ago 0 Comment

0 Comment

Leave Comment