ImmichI
Immich4w ago
iamak

Help needed while setting up Immich (Android)

Hello, I wanted to test immich so I set it up on my rockboard using podman (default config) and I'm trying to connect to it from android app. However it says can't connect.
Logs:
ApiException 400: Socket operation failed: GET /server/ping (Inner exception: ClientException with SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = 192.168.1.130, port = 57340, uri=https://192.168.1.130:2283/api/server/ping)

#0      IOClient.send (package:http/src/io_client.dart:227)
<asynchronous suspension>
#1      BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)
<asynchronous suspension>
#2      ApiClient.invokeAPI (package:openapi/api_client.dart:101)
<asynchronous suspension>
#3      ServerApi.pingServer (package:openapi/api/server_api.dart:672)
<asynchronous suspension>
#4      Future.timeout.<anonymous closure> (dart:async/future_impl.dart:1061)
<asynchronous suspension>
#5      ApiService._isEndpointAvailable (package:immich_mobile/services/api.service.dart:124)
<asynchronous suspension>
#6      ApiService.resolveEndpoint (package:immich_mobile/services/api.service.dart:109)
<asynchronous suspension>
#7      ApiService.resolveAndSetEndpoint (package:immich_mobile/services/api.service.dart:85)
<asynchronous suspension>
#8      AuthService.validateServerUrl (package:immich_mobile/services/auth.service.dart:59)
<asynchronous suspension>
#9      LoginForm.build.getServerAuthSettings (package:immich_mobile/widgets/forms/login/login_form.dart:100)
<asynchronous suspension>


ApiException 400: Socket operation failed: GET /server/ping (Inner exception: ClientException with SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = 192.168.1.130, port = 57340, uri=https://192.168.1.130:2283/api/server/ping)

Does this mean it's trying to connect on port 57340 instead of 2283?
Was this page helpful?