If you are currently working on an app with React Native and you are using Laravel as your backend, you have probably encountered this problem.

And this article will help you solve this problem with just ONE SIMPLE TRICK.


We all know how to start a Laravel server with the simple php artisan serve command and that’s the problem.

By starting your Laravel app like that it creates a link for your app which is localhost:8000 (the port may be different for you, it might be 3000, 8080 or anything else but we will use 8000 for this tutorial).


If you are young, you just finished high school and you’re looking for a future career, you’re at the right place, but if you’re old, unhappy with your current career or you’re just passionate about software development, you’re at the right place!

Photo by Safar Safarov on Unsplash

As a kid I didn’t really know what I wanted to do after finishing school, I didn’t have a plan or a clear goal in mind, I just knew that I liked computers and I was enjoying discovering new things about them and doing what other people couldn’t do. …

Kevin Ilondo

Self taught programmer, PHP Web developer, lover of technology and programming.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store