D
D
dk-web2019-02-14 22:08:27
Laravel
dk-web, 2019-02-14 22:08:27

Is it possible to run a remote virtual server in Laravel similar to vue-cli 3?

Good time.
If I do npm run serve in a vue-cli project, then both the localhost and the remote server are launched.
App running at:
- Local: localhost:8080
- Network: 192.168.1.61:8080
Accordingly, I can access the site from the tablet. But php artisan serve only gives local 127.0.0.1. What can be screwed in order to receive a remote one by analogy?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stanislav, 2019-02-14
@mzcoding

You can do this https://ngrok.com/

7
7723800, 2019-02-15
@7723800

I use this https://www.browsersync.io/
Plus a second monitor and no need to press F5.
Very comfortable, I advise

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question