-
Notifications
You must be signed in to change notification settings - Fork 147
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
I initialize the client endpoint to localhost with a given port.
final Client _client = Client()
.setEndpoint('http://localhost:8089/v1')
.setProject(projectId)
.setSelfSigned(status: true);But then when I make any request using the client I get the following error.
E/flutter ( 5606): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: DioError [DioErrorType.DEFAULT]: SocketException: OS Error: Connection refused, errno = 111, address = localhost, port = 59488
The port number in the error message changes every time a request is made.
Is there some other way of specifying the port number?
nilsreichardt
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested