I am getting this error. I have change port 80 to 8080 and 443 to 1443 to run it but still didn't work. Do anyone have an idea how to fix this error. For the first time, it worked but after a windows update, it's not working already change many ports still facing the same issue.
Asked
Active
Viewed 1,898 times
0
-
Are you facing the issue while starting XAMPP or running app? – Sanjay Sharma May 17 '20 at 11:32
-
Facing this issue while running app – Ruhma CH May 17 '20 at 11:39
-
Can you elaborate on the problem? When are you facing this issue? What's the exact error? – Sanjay Sharma May 17 '20 at 12:00
-
I am trying to run my flutter app connecting the database with my app. When I started on my project it's working but after that windows updation start. After WIndow has updated It's not working and showing this error "SocketException (SocketException: OS Error: No route to host, errno = 113, address = 192.168.100.21, port = 48094)" – Ruhma CH May 17 '20 at 12:06
-
I have tried many other ports to fix it but still facing the same error. Do you have any idea how to fix it? – Ruhma CH May 17 '20 at 12:07
-
Are you running back-end locally? Are you running app in emulator ? – Sanjay Sharma May 17 '20 at 12:07
-
Let us [continue this discussion in chat](https://chat.stackoverflow.com/rooms/214053/discussion-between-ruhma-ch-and-sanjay-sharma). – Ruhma CH May 17 '20 at 12:08
1 Answers
0
If your Flutter app is trying to connect to the localhost, the IP address might've been changed if the machine uses a dynamic IP address. Check if the IP address of the machine has changed after the update causing for the SocketException error to be thrown. This answer might help you out.

Omatt
- 8,564
- 2
- 42
- 144