flutterでローカルのAPIにつなげようとしたところタイトルのエラーが発生しました。
解決方法はこちら
1 2 3 4 5 | //ダメ final url = 'http://localhost:3001/api/auth'; // OK final url = 'http://localhost:3001/api/auth'; |
参考記事
SocketException: OS Error: Connection refused, errno = 111 in flutter using django backend