Hello World...
플러터 Dio url localhost 에러 관련 본문
SocketException (SocketException: OS Error: Connection refused, errno = 111, address = localhost ...
로컬 서버로 테스트하는 경우 이런 에러가 나는 경우
http://localhost:5000/api/product 이런 식으로 호출하고 있는 지 확인해야 한다.
cmd 또는 터미널 ipconfig (ifconfig) 명령어를 실행한 후 IPv4주소로 변경해준다.
http://localhost:5000/api/product -> http://192.168.xxx.xxx/api/product
Flutter SocketException (SocketException: OS Error: Connection refused, errno = 111, address = localhost, port = 51500)
I am Using strapi.io open Source Node.js Headless CMS this is my code for registerpage void _registerUser() async { http.Response response = await http.post('http://localhost:1337/auth/local/
stackoverflow.com
'flutter' 카테고리의 다른 글
플러터 카카오로그인 윈도우 invalid android_key_hash or ios_bundle_id or web_site_url (0) | 2024.01.06 |
---|---|
플러터 - 아이폰 기기에서 개발자 모드로 앱 실행해보기 (1) | 2023.12.07 |
Flutter current path (1) | 2023.12.06 |
플러터 iOS WebView 구글 로그인 403 Error (0) | 2023.10.16 |
Comments