I'm running a HttpServer instance on the simulator or the phone and cannot access it with the phone's/simulator's IP from the outside, only with http://localhost:3001 from the device.
Do I miss a configuration step or do I need another permission besides android.permission.INTERNET?
The current state is in this branch: https://github.com/elsamuko/clusterup/blob/features/LoadSaveJSON/lib/server.dart
HttpServer.bind(InternetAddress.loopbackIPv4. Well you bound your server to localhost/127.0.0.1. Dont do that. You should not bind your server to any ip address to begin with.