Back

ClientException with SocketException: Connection refused

  • 0
  • Android
  • Flutter
venkimurthy07
24 Oct, 2024, 05:21

E/flutter (11654): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: AppwriteException: , ClientException with SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = localhost, port = 40218, uri=http://localhost/v1/account/sessions/email (0)

TL;DR
Developers are encountering a ClientException with SocketException: Connection refused error when trying to establish a connection with localhost. This issue is likely caused by the app not being able to connect to the specified port. Double-check the port configuration and ensure it is open and the server is running properly.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more