When I Run flutter run -d chrome
command (ref), get the Failed to start accept error:
SocketException: Failed to create server socket (OS Error: Failed to start accept), address = localhost, port = 6670
Additional info:
flutter channel => beta
How can I solve it?
OK, this is also my issue and I manage to find a workaround
on cmd run "ipconfig"
after running the "ipconfig" get the value of IPv4 Address.
then on the app run:
flutter run -d chrome --web-port=8080 --web-hostname= *the value of IPv4 Address*
Go to Network LAN Properties -> Deselect the IPv6 Connectivity -> Click Ok. Its Works for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With