ganlvtech/lua-simple-encrypt

deploy issues

YumeGod opened this issue · 1 comments

I use npm run dev to deploy the obfuscator to my server, I can access through localhost:8080, but I cannot access through IP:8080 on my computer, I have checked all firewall settings, but other app can access through IP:8080 , so that means theres no problem with the firewall , should i change any settings ?

You can find more details from StackOverflow: How to get access to webpack-dev-server from devices in local network?.

There are several ways.

  1. Change package.json webpack-dev-server to webpack-dev-server --host=0.0.0.0 and run npm run dev.

"dev": "webpack-dev-server"

  1. Or just run npm run dev -- --host=0.0.0.0