On public WLAN the firewall might have blocked relevant ports you need to run a flutter project on the localhost (your IP in this public WiFi and not 127.0.0.1. You can try to force a standard port flutter run -d chrome --web-port=8080.
flutter run -d chrome --web-port=8080