I need to run my Laravel project using my ip address how can i do that
I need to run my Laravel project using my ip address how can i do that if i run this php artisan serve --host 192.168.1.5 it is working but if i enter the php artisan server also it should need to work if i enter the command it is taking localhost only 127.0.0.1:8000 but when i enter the php artisan serve i need to run with these url local url and also using the ipaddress...
You do realize that 192.168.1.5 is your IP in the local network? So it's not accessible from the outside internet without port forwarding.
Artisan serve is only meant for local development, not for live websites. But if you really want to use a custom IP and don't want to write the argument every time, just create a shell script that does that. Then run that script instead of running serve manually.