Change Wave IP Address

Solved
btaylor6192

Apr 26th, 2022 07:48 AM

How can I change the default listen-on ip of the application on my local machine? It defaults to the loopback address, but I want it to listen on my local network so that I can test the API with another machine on it. Is this possible?

bobbyiliev

Apr 26th, 2022 08:22 AM

Best Answer

Hello,

Can you clarify how exactly are you running Wave locally?

Usually it is just enough to set the APP_URL in your .env file correctly.

Or if you are using php artisan serve for your local env, you can change it with:

php artisan serve --host=<your_address_here> 

Best,

Bobby

Report
3
btaylor6192

Apr 26th, 2022 08:34 AM

Perfect, yes that second solution is what I'm looking for, for now. Thanks so much!

Report
1
bobbyiliev

Apr 26th, 2022 08:56 AM

No problem at all! Happy to hear that this helped!