🐛 BUG: Cannot access wrangler dev --ip 0.0.0.0
from device on same network
#4763
Labels
bug
Something that isn't working
Which Cloudflare product(s) does this pertain to?
Wrangler core, Miniflare
What version(s) of the tool(s) are you using?
3.22.5, 3.22.3, 3.19.0, 3.18.0
What version of Node are you using?
18
What operating system are you using?
MacOS
Describe the Bug
Run
wrangler dev --ip 0.0.0.0
and try accessing http://<local_ip>:8787 on a device on the same network.Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
Hi!
With
wrangler dev --ip 0.0.0.0
I can access the worker through http://192.168.1.26:8787 (local IP) on computer on which I started the process, but not from my phone on the same wifi network... (i can access other ports (http://192.168.1.26:5000), if I run a simple web server for example).I tried different wrangler versions, nothing changed. Actually, it worked with 3.18.0 and
--remote
but remote development breaks my workflow...If I forward a port to 8787 (with
socat TCP-LISTEN:8282,fork TCP:localhost:8787
) I can access the dev worker from my phone through http://192.168.1.26:8282.Is this a bug or am I missing something?
The text was updated successfully, but these errors were encountered: