I'm trying to run a simple web server on a Raspberry Pi with Flask. When I run my Flask app, it says:
running on http://127.0.0.1:5000/
But when I enter this address on my laptop's in Chrome, I get
ERR_CONNECTION_REFUSED
I can open 127.0.0.1:5000 on the Raspberry Pi's browser. What do I need to do to connect from another computer?
ifconfig
should look something like 192.168.0.XX:5000. This assumes that they are both on the same local network. – jmunschifconfig
returned 192.168.1.103, I tried it with:5000
but still get connection refused. and yes they are both on the same network – Yashar