POST fails with Retrofit (connect timed out) but works with Postman [on hold]
POST fails with Retrofit (connect timed out) but works with Postman [on hold] SOLVED: stupid mistake, I had https://foo.foo.com:433 instead of https://foo.foo.com:443... I've implemented Retrofit and I'm trying to send a POST request with JSON data as JsonObject. It's not working and I get a failure "connect time out", but I can send a POST request without problem via Postman. At first I thought it was because of the header, I've tried with an Interceptor and to use @Header instead of @Headers. Thank you for your help. Postman Log from HttpLoggingInterceptor() Jun 30, 2018 10:22:09 AM okhttp3.internal.platform.Platform log INFO: --> POST https://foo.foo.com:433/ Jun 30, 2018 10:22:09 AM okhttp3.internal.platform.Platform log INFO: Content-Type: application/json Jun 30, 2018 10:22:09 AM okhttp3.internal.platform.Platform log INFO: Content-Length: 132 Jun 30, 2018 10:22:09 AM okhttp3.internal.platform.Platform log INFO: Jun 30, 2018 10:22:09 AM okhttp3.inter...