Answers for "SocketException: OS Error: Connection refused, errno = 111, address = localhost,"

3

OS Error: Connection refused, errno = 111, address = 127.0.0.1, port = 43350

I went to the terminal and used ipconfig command

I got my IPV4 address: 192.168.1.101

Then I simply replaced this IP address with my "127.0.0.1:8000" in flutter app
http requests. And it worked like a charm!

For Laravel : php artisan serve --host 192.168.1.101 --port 80
Posted by: Guest on April-20-2021

Code answers related to "SocketException: OS Error: Connection refused, errno = 111, address = localhost,"

Browse Popular Code Answers by Language