R
R
Ramzza2019-08-30 20:29:26
gulp.js
Ramzza, 2019-08-30 20:29:26

Gulp browser-sync - why does not open from a smartphone?

In general, the flight is normal on Windows, it does not want to start on Linux. Googled - found a solution in the form of tunnel forwarding, but did not understand how to do it.
I ask for help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ramzza, 2019-08-30
@Ramzza

In short, he solved the problem himself. I will describe how I did it.
The answers were on stackoverflow
. The first option that worked was just the creation of this very tunnel

browserSync.init({
    server: {
      baseDir: "work/"
    },
    online: true,
    tunnel: true,
    logLevel: "debug"
  });

After that, you can connect from your smartphone through random tunnels
. The second option is to write in the console: sudo ufw allow 3000/tcp
After that, it became possible to connect in the usual way.
All the best!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question