Failed to load resource: net::ERR_CONNECTION_REFUSED

Sometimes when I am trying to http.post while the phone is asleep i get this error and the call is unsuccesful, what can be the reason behind this?

Your phone goes to dormant mode, suspending internet connection.

This also happens to me at times when:

  • either my wifi-internet connectivity is hindered
  • my phone is not connected to the internet

Hope that helps! :slight_smile:

what do you mean by hindered? wifi connection is on, with full signal power, so what can be the problem? on my second phone everything works fine, this issue happens to me when using samsung

By that I mean my device is connected to the wifi router (like you said, with full signal power), but due to some reasons, the wifi router is not getting internet connectivity.

Those were the reasons for me. There may be other reasons as well that are causing your samsung phone to behave that way.